@bytebrand/fe-ui-core-autobahn 1.0.92 → 1.0.94
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/CarRow.tsx +1 -1
- package/constants/RateSearchWidget.ts +3 -2
- package/constants/Search.ts +3 -1
- package/locales/de/autobahn.json +2 -2
- package/locales/en/autobahn.json +2 -2
- package/package.json +1 -1
- package/theme/md3.css +15 -2
package/cards/CarRow.tsx
CHANGED
|
@@ -176,7 +176,7 @@ const CarRow: React.FunctionComponent<CarRowProps> = ({
|
|
|
176
176
|
availability/Geprüft pill (not present in the Figma "mcard" export). */}
|
|
177
177
|
<div
|
|
178
178
|
className="hide-mobile"
|
|
179
|
-
style={{ position: 'absolute', bottom:
|
|
179
|
+
style={{ position: 'absolute', bottom: 20, left: 12, zIndex: 3, display: 'flex', alignItems: 'center', gap: 6 }}
|
|
180
180
|
>
|
|
181
181
|
{car.photos > 1 && (
|
|
182
182
|
<span className="mcard-photo-chip">
|
|
@@ -6,8 +6,9 @@ export const FIRST_INSTALLMENT_FIX = [
|
|
|
6
6
|
];
|
|
7
7
|
|
|
8
8
|
export const MONTHLY_INSTALLMENT_FIX = [
|
|
9
|
-
'any', 50,
|
|
10
|
-
550, 600, 650, 700, 750, 800, 850, 900, 950, 1000,
|
|
9
|
+
'any', 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, // tslint:disable-line
|
|
10
|
+
550, 600, 650, 700, 750, 800, 850, 900, 950, 1000, // tslint:disable-line
|
|
11
|
+
1050, 1100, 1150, 1200, 1250, 1300, 1350, 1400, 1450, 1500 // tslint:disable-line
|
|
11
12
|
];
|
|
12
13
|
|
|
13
14
|
export const PAYBACK_PERIOD_FIX = [
|
package/constants/Search.ts
CHANGED
|
@@ -58,7 +58,9 @@ export const IMAGES_COUNT_FIX = [
|
|
|
58
58
|
];
|
|
59
59
|
|
|
60
60
|
export const MILEAGE_FIX = [
|
|
61
|
-
0, 5000, 10000,
|
|
61
|
+
0, 5000, 10000, 15000, 20000, 25000, 30000, 35000, 40000, 45000, 50000,
|
|
62
|
+
55000, 60000, 65000, 70000, 75000, 80000, 85000, 90000, 95000, 100000,
|
|
63
|
+
105000, 110000, 115000, 120000, 125000, 130000, 135000, 140000, 145000, 150000
|
|
62
64
|
];
|
|
63
65
|
|
|
64
66
|
export const POWER_FIX = [
|
package/locales/de/autobahn.json
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"priceRatingAria": "Preisbewertung: {{rating}}",
|
|
86
86
|
"detailsShow": "Details anzeigen",
|
|
87
87
|
"paymentLabel": "Zahlung",
|
|
88
|
-
"paymentValue": "
|
|
88
|
+
"paymentValue": "Zahlung per Überweisung",
|
|
89
89
|
"warrantyLabel": "Garantie",
|
|
90
90
|
"warrantyValue": "1 Jahr inklusive",
|
|
91
91
|
"deliveryLabel": "Lieferung",
|
|
@@ -771,7 +771,7 @@
|
|
|
771
771
|
},
|
|
772
772
|
"step3": {
|
|
773
773
|
"title": "Bezahlung",
|
|
774
|
-
"description": "Sicher
|
|
774
|
+
"description": "Sicher per Überweisung bezahlen — ohne versteckte Kosten."
|
|
775
775
|
},
|
|
776
776
|
"step4": {
|
|
777
777
|
"title": "Übergabe",
|
package/locales/en/autobahn.json
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"priceRatingAria": "Price rating: {{rating}}",
|
|
86
86
|
"detailsShow": "Show details",
|
|
87
87
|
"paymentLabel": "Payment",
|
|
88
|
-
"paymentValue": "Bank transfer
|
|
88
|
+
"paymentValue": "Bank transfer",
|
|
89
89
|
"warrantyLabel": "Warranty",
|
|
90
90
|
"warrantyValue": "1 year included",
|
|
91
91
|
"deliveryLabel": "Delivery",
|
|
@@ -771,7 +771,7 @@
|
|
|
771
771
|
},
|
|
772
772
|
"step3": {
|
|
773
773
|
"title": "Payment",
|
|
774
|
-
"description": "Pay securely
|
|
774
|
+
"description": "Pay securely by bank transfer — with no hidden costs."
|
|
775
775
|
},
|
|
776
776
|
"step4": {
|
|
777
777
|
"title": "Handover",
|
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.94",
|
|
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
|
@@ -521,6 +521,12 @@ line-height: 31px;
|
|
|
521
521
|
border-color var(--dur-2) var(--ease-standard),
|
|
522
522
|
transform var(--dur-2) var(--ease-standard);
|
|
523
523
|
}
|
|
524
|
+
/* the hero search card has no clipped media (unlike other .mcard uses) and its
|
|
525
|
+
.mselect-menu dropdowns can grow past the card's own bounds — the base
|
|
526
|
+
.mcard overflow: hidden would otherwise cut off the option list. */
|
|
527
|
+
.md3 .hero-search {
|
|
528
|
+
overflow: visible;
|
|
529
|
+
}
|
|
524
530
|
.md3 .mcard--elevated {
|
|
525
531
|
border: 0;
|
|
526
532
|
box-shadow: var(--md-e1);
|
|
@@ -4154,10 +4160,17 @@ line-height: 31px;
|
|
|
4154
4160
|
margin: 6px 0 2px;
|
|
4155
4161
|
touch-action: none;
|
|
4156
4162
|
}
|
|
4163
|
+
/* inset 9px (half the 18px thumb, see ::-webkit-slider-thumb below) on each side — the native
|
|
4164
|
+
thumb's CENTER can only travel from thumbRadius to (width - thumbRadius) of the <input>'s own
|
|
4165
|
+
box, so it never physically reaches the container's true 0%/100% edge. Widening the input to
|
|
4166
|
+
overhang the container (the previous attempt here) just moves the mismatch: the thumb's outer
|
|
4167
|
+
half then pokes OUT past the container instead of stopping short of it. Insetting the visual
|
|
4168
|
+
track/fill to match the thumb's real (un-overhung) travel range instead — see .exslider-fill's
|
|
4169
|
+
calc() below — is the only way to get all three (track, fill, thumb) to line up flush. */
|
|
4157
4170
|
.md3 .exslider-track {
|
|
4158
4171
|
position: absolute;
|
|
4159
|
-
left:
|
|
4160
|
-
right:
|
|
4172
|
+
left: 9px;
|
|
4173
|
+
right: 9px;
|
|
4161
4174
|
top: 50%;
|
|
4162
4175
|
height: 4px;
|
|
4163
4176
|
transform: translateY(-50%);
|