@bytebrand/fe-ui-core-autobahn 1.0.217 → 1.0.218
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 +59 -14
- package/cards/CarRow.tsx +33 -9
- package/cards/cardParts.tsx +58 -18
- package/compat/PriceRating/PriceRating.styl +5 -7
- package/compat/PriceRatingDetailed/PriceRatingDetailed.styl +8 -6
- package/compat/legacy-theme/priceReviewColors.styl +18 -5
- package/constants/app.ts +11 -1
- package/constants/autobahn.ts +39 -0
- package/constants/core.ts +12 -1
- package/data/fieldMapping.ts +3 -3
- package/data/toAutobahnCar.ts +14 -12
- package/locales/de/autobahn.json +9 -7
- package/locales/en/autobahn.json +9 -7
- package/package.json +30 -30
- package/theme/md3.css +113 -337
- package/ui/StatChip.tsx +8 -3
- package/ui/index.ts +1 -0
- package/ui/ratingLink.ts +36 -0
- package/vdp/FinanceCalculator.tsx +130 -27
- package/vdp/VdpModules.tsx +58 -924
- package/vdp/index.ts +0 -3
- package/vdp/types.ts +2 -12
package/locales/de/autobahn.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"uvp": "UVP",
|
|
96
96
|
"priceRating": "Preisbewertung",
|
|
97
97
|
"priceRatingAria": "Preisbewertung: {{rating}}",
|
|
98
|
+
"priceRatingLink": "Preisbewertung: {{rating}} – zu Preis & Marktwert",
|
|
98
99
|
"detailsShow": "Details anzeigen",
|
|
99
100
|
"paymentLabel": "Zahlung",
|
|
100
101
|
"paymentValue": "Überweisung",
|
|
@@ -559,7 +560,8 @@
|
|
|
559
560
|
"good": "Guter Preis",
|
|
560
561
|
"fair": "Fairer-Preis",
|
|
561
562
|
"raised": "Erhöhter Preis",
|
|
562
|
-
"high": "Hoher Preis"
|
|
563
|
+
"high": "Hoher Preis",
|
|
564
|
+
"none": "Keine Bewertung"
|
|
563
565
|
},
|
|
564
566
|
"sort": {
|
|
565
567
|
"relevance": "Relevanz",
|
|
@@ -662,27 +664,27 @@
|
|
|
662
664
|
"categories": {
|
|
663
665
|
"topPrice": {
|
|
664
666
|
"label": "Top-Preis",
|
|
665
|
-
"description": "Der Preis
|
|
667
|
+
"description": "Der Preis liegt deutlich unter dem geschätzten Marktwert."
|
|
666
668
|
},
|
|
667
669
|
"goodPrice": {
|
|
668
670
|
"label": "Guter Preis",
|
|
669
|
-
"description": "Der Preis liegt etwas unter dem
|
|
671
|
+
"description": "Der Preis liegt etwas unter dem geschätzten Marktwert."
|
|
670
672
|
},
|
|
671
673
|
"fairPrice": {
|
|
672
674
|
"label": "Fairer Preis",
|
|
673
|
-
"description": "
|
|
675
|
+
"description": "Der Preis entspricht in etwa dem geschätzten Marktwert."
|
|
674
676
|
},
|
|
675
677
|
"increasedPrice": {
|
|
676
678
|
"label": "Erhöhter Preis",
|
|
677
|
-
"description": "Der Preis liegt etwas
|
|
679
|
+
"description": "Der Preis liegt etwas über dem geschätzten Marktwert."
|
|
678
680
|
},
|
|
679
681
|
"highPrice": {
|
|
680
682
|
"label": "Hoher Preis",
|
|
681
|
-
"description": "Der Preis
|
|
683
|
+
"description": "Der Preis liegt deutlich über dem geschätzten Marktwert vergleichbarer Fahrzeuge. Eine umfangreiche Ausstattung, Umbauten oder ein besonders guter Zustand können einen höheren Preis rechtfertigen. Bitte beachten Sie die Fahrzeugbeschreibung."
|
|
682
684
|
},
|
|
683
685
|
"noRating": {
|
|
684
686
|
"label": "Keine Bewertung",
|
|
685
|
-
"description": "
|
|
687
|
+
"description": "Für dieses Fahrzeug ist keine Preisbewertung möglich, z. B. weil nicht genügend vergleichbare Angebote vorliegen (etwa bei seltenen Modellen) oder Fahrzeugangaben fehlen."
|
|
686
688
|
}
|
|
687
689
|
}
|
|
688
690
|
},
|
package/locales/en/autobahn.json
CHANGED
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"uvp": "RRP",
|
|
96
96
|
"priceRating": "Price rating",
|
|
97
97
|
"priceRatingAria": "Price rating: {{rating}}",
|
|
98
|
+
"priceRatingLink": "Price rating: {{rating}} – go to price & market value",
|
|
98
99
|
"detailsShow": "Show details",
|
|
99
100
|
"paymentLabel": "Payment",
|
|
100
101
|
"paymentValue": "Bank transfer",
|
|
@@ -559,7 +560,8 @@
|
|
|
559
560
|
"good": "Good price",
|
|
560
561
|
"fair": "Fair price",
|
|
561
562
|
"raised": "Increased price",
|
|
562
|
-
"high": "High price"
|
|
563
|
+
"high": "High price",
|
|
564
|
+
"none": "No rating"
|
|
563
565
|
},
|
|
564
566
|
"sort": {
|
|
565
567
|
"relevance": "Relevance",
|
|
@@ -662,27 +664,27 @@
|
|
|
662
664
|
"categories": {
|
|
663
665
|
"topPrice": {
|
|
664
666
|
"label": "Top price",
|
|
665
|
-
"description": "The price is
|
|
667
|
+
"description": "The price is well below the estimated market value."
|
|
666
668
|
},
|
|
667
669
|
"goodPrice": {
|
|
668
670
|
"label": "Good price",
|
|
669
|
-
"description": "The price
|
|
671
|
+
"description": "The price is slightly below the estimated market value."
|
|
670
672
|
},
|
|
671
673
|
"fairPrice": {
|
|
672
674
|
"label": "Fair price",
|
|
673
|
-
"description": "The price
|
|
675
|
+
"description": "The price roughly matches the estimated market value."
|
|
674
676
|
},
|
|
675
677
|
"increasedPrice": {
|
|
676
678
|
"label": "Increased price",
|
|
677
|
-
"description": "The price
|
|
679
|
+
"description": "The price is slightly above the estimated market value."
|
|
678
680
|
},
|
|
679
681
|
"highPrice": {
|
|
680
682
|
"label": "High price",
|
|
681
|
-
"description": "The price
|
|
683
|
+
"description": "The price is well above the estimated market value of comparable vehicles. Extensive equipment, conversions or a particularly good condition can justify a higher price. Please note the vehicle description."
|
|
682
684
|
},
|
|
683
685
|
"noRating": {
|
|
684
686
|
"label": "No rating",
|
|
685
|
-
"description": "
|
|
687
|
+
"description": "No price rating is possible for this vehicle, e.g. because there are not enough comparable offers (such as for rare models) or vehicle details are missing."
|
|
686
688
|
}
|
|
687
689
|
}
|
|
688
690
|
},
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bytebrand/fe-ui-core-autobahn",
|
|
3
|
-
"version": "1.0.
|
|
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
|
-
"main": "index.ts",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"peerDependencies": {
|
|
8
|
-
"react": "^18.0.0",
|
|
9
|
-
"react-dom": "^18.0.0"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
13
|
-
"@bytebrand/fe-financing": "^5.14.
|
|
14
|
-
"classnames": "2.2.6",
|
|
15
|
-
"clsx": "^2.1.1",
|
|
16
|
-
"d3-format": "1.4.5",
|
|
17
|
-
"js-cookie": "^2.2.0",
|
|
18
|
-
"lodash": "^4.17.21",
|
|
19
|
-
"lucide-react": "^0.288.0",
|
|
20
|
-
"mobx-react": "^7.6.0",
|
|
21
|
-
"moment": "^2.29.1",
|
|
22
|
-
"qs": "^6.6.0",
|
|
23
|
-
"react-device-detect": "^2.1.2",
|
|
24
|
-
"react-grid-system": "^5.0.2",
|
|
25
|
-
"react-lazyload": "^3.2.0",
|
|
26
|
-
"react-scroll": "^1.9.3",
|
|
27
|
-
"react-slick": "^0.29.0",
|
|
28
|
-
"slick-carousel": "1.8.1"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bytebrand/fe-ui-core-autobahn",
|
|
3
|
+
"version": "1.0.218",
|
|
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
|
+
"main": "index.ts",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"react": "^18.0.0",
|
|
9
|
+
"react-dom": "^18.0.0"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
13
|
+
"@bytebrand/fe-financing": "^5.14.30",
|
|
14
|
+
"classnames": "2.2.6",
|
|
15
|
+
"clsx": "^2.1.1",
|
|
16
|
+
"d3-format": "1.4.5",
|
|
17
|
+
"js-cookie": "^2.2.0",
|
|
18
|
+
"lodash": "^4.17.21",
|
|
19
|
+
"lucide-react": "^0.288.0",
|
|
20
|
+
"mobx-react": "^7.6.0",
|
|
21
|
+
"moment": "^2.29.1",
|
|
22
|
+
"qs": "^6.6.0",
|
|
23
|
+
"react-device-detect": "^2.1.2",
|
|
24
|
+
"react-grid-system": "^5.0.2",
|
|
25
|
+
"react-lazyload": "^3.2.0",
|
|
26
|
+
"react-scroll": "^1.9.3",
|
|
27
|
+
"react-slick": "^0.29.0",
|
|
28
|
+
"slick-carousel": "1.8.1"
|
|
29
|
+
}
|
|
30
|
+
}
|