@bytebrand/fe-ui-core-autobahn 1.0.210 → 1.0.211

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.
Files changed (43) hide show
  1. package/cards/CarCard.tsx +12 -43
  2. package/cards/CarCardSkeleton.tsx +103 -0
  3. package/cards/CarRowSkeleton.tsx +152 -0
  4. package/cards/cardParts.tsx +1 -6
  5. package/cards/index.ts +6 -0
  6. package/chrome/AccountMenuIcon.tsx +109 -0
  7. package/chrome/Footer.tsx +16 -3
  8. package/chrome/TopBar.tsx +139 -266
  9. package/compat/CookieModal/CookieModal.tsx +20 -6
  10. package/compat/CookieModal/Modal.tsx +6 -3
  11. package/compat/CookieModal/modals/ManageCookieModal/ManageCookieModal.tsx +43 -15
  12. package/compat/CookieModal/modals/PreviewCookieModal/PreviewCookieModal.tsx +4 -3
  13. package/compat/CookieModal/useModal.ts +5 -1
  14. package/compat/Loader/Loader.tsx +1 -7
  15. package/compat/MdField/MdField.tsx +28 -4
  16. package/compat/TimePicker/TimePicker.tsx +12 -2
  17. package/constants/app.ts +1 -11
  18. package/constants/core.ts +1 -12
  19. package/data/toAutobahnCar.ts +16 -2
  20. package/iconsvg/IconSVG.tsx +1 -5
  21. package/locales/de/autobahn.json +46 -12
  22. package/locales/en/autobahn.json +45 -11
  23. package/package.json +2 -2
  24. package/theme/md3.css +5321 -1207
  25. package/ui/CreditCostNotice.tsx +44 -44
  26. package/ui/Dropdown.tsx +29 -10
  27. package/ui/FormCheckbox.tsx +22 -2
  28. package/ui/FormField.tsx +2 -1
  29. package/ui/Icon.tsx +6 -0
  30. package/ui/MfieldCheckIcon.tsx +13 -0
  31. package/ui/Modal.tsx +84 -6
  32. package/ui/Skeleton.tsx +79 -20
  33. package/ui/index.ts +2 -0
  34. package/ui/scrollFieldIntoView.ts +41 -0
  35. package/ui/usePortalMenuPosition.ts +27 -15
  36. package/utils/cookieConsent.ts +84 -0
  37. package/utils/index.ts +10 -0
  38. package/vdp/FinanceCalculator.tsx +19 -5
  39. package/vdp/VdpModules.tsx +56 -13
  40. package/vdp/types.ts +5 -5
  41. package/vehiclesProps/accidentDisclosure.ts +25 -0
  42. package/vehiclesProps/decoratedLightProps.tsx +4 -0
  43. package/vehiclesProps/decoratedProps.tsx +4 -0
@@ -77,6 +77,7 @@
77
77
  "kfPurchaseObligation": "Purchase obligation",
78
78
  "termSelection": "Term",
79
79
  "termSelectionMonths": "Term (months)",
80
+ "change": "Change",
80
81
  "headerTitle": "Your offer",
81
82
  "adjustRate": "Adjust rate",
82
83
  "secureOffer": "Request offer",
@@ -97,7 +98,7 @@
97
98
  "detailsShow": "Show details",
98
99
  "paymentLabel": "Payment",
99
100
  "paymentValue": "Bank transfer",
100
- "warrantyLabel": "Warranty",
101
+ "warrantyLabel": "Additional warranty (Multipart)",
101
102
  "warrantyValue": "1 year included",
102
103
  "deliveryLabel": "Delivery",
103
104
  "deliveryValue": "approx. 7–14 days · or collection",
@@ -286,7 +287,16 @@
286
287
  "myDealers": "My dealers",
287
288
  "dashboard": "Dashboard",
288
289
  "dealerDashboard": "Dealer dashboard",
289
- "imageSettings": "Image settings"
290
+ "imageSettings": "Image settings",
291
+ "acct": {
292
+ "overview": "Overview",
293
+ "myOrder": "My order",
294
+ "savedSearches": "Saved searches",
295
+ "favorites": "Favorites",
296
+ "compare": "Compare vehicles",
297
+ "profile": "Profile",
298
+ "support": "Support & callback"
299
+ }
290
300
  },
291
301
  "srp": {
292
302
  "trust": {
@@ -494,11 +504,12 @@
494
504
  "ratings": "Ratings"
495
505
  },
496
506
  "section": {
497
- "similar": "Similar vehicles"
507
+ "similar": "Similar vehicles",
508
+ "unavailableSimilar": "Similar / comparable vehicles"
498
509
  },
499
510
  "breadcrumb": {
500
511
  "home": "Home",
501
- "used-cars": "Used cars"
512
+ "used-cars": "Cars"
502
513
  },
503
514
  "state": {
504
515
  "loading": "Vehicle is loading...",
@@ -749,13 +760,13 @@
749
760
  "representativeExample": "Representative example",
750
761
  "vatDisclaimer": "(all prices may incl. the applicable statutory VAT, currently 19%)",
751
762
  "lenderLabel": "Lender:",
752
- "lenderName": "Open Bank AG, Santander-Platz 1, 41061 Mönchengladbach",
763
+ "lenderName": "Openbank Deutschland AG, Santander-Platz 1, 41061 Mönchengladbach",
753
764
  "leaseLenderLabel": "Lessor:",
754
- "leaseLenderName": "Santander Consumer Leasing GmbH, Santander-Platz 1, 41061 Mönchengladbach",
765
+ "leaseLenderName": "Openbank Deutschland AG, Santander-Platz 1, 41061 Mönchengladbach",
755
766
  "contractTypeLabel": "Contract type:",
756
767
  "contractTypeValue": "Residual value leasing",
757
768
  "packageMandatoryNotice": "The complete care package is mandatory. In the configuration shown, it must be paid as a one-time payment of {{amount}} € and is not included in the monthly rate. If rolled into the installments, the monthly rate and totals are adjusted accordingly.",
758
- "legalFootnoteAcquisitionPrice": "¹ The acquisition price denotes the price Santander Consumer Leasing GmbH pays for the vehicle.",
769
+ "legalFootnoteAcquisitionPrice": "¹ The acquisition price denotes the price Openbank Deutschland AG pays for the vehicle.",
759
770
  "legalFootnoteListPriceLease": "² List price (RRP) = manufacturer's non-binding recommended retail price.",
760
771
  "closingDisclaimerLine1": "Subject to change and errors. Color and equipment may differ from the offer shown.",
761
772
  "closingDisclaimerLine2": "Optional equipment may incur additional costs.",
@@ -766,8 +777,8 @@
766
777
  "legalNoticeVat": "All prices incl. the applicable statutory VAT, currently 19%.",
767
778
  "legalNoticeAddServices": "The all-round care package is a one-time payment.",
768
779
  "listPriceFootnote": "³ List price (RRP) = manufacturer's non-binding recommended retail price.",
769
- "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 Leasing GmbH, 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.",
770
- "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 Open 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.",
780
+ "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 Openbank Deutschland 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.",
781
+ "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 Openbank Deutschland 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.",
771
782
  "sheetTitleFinancing": "Adjust credit rate",
772
783
  "sheetTitleLeasing": "Adjust leasing rate",
773
784
  "sheetTitleCash": "Purchase - Details"
@@ -775,7 +786,9 @@
775
786
  "ratings": {
776
787
  "showLess": "Show less",
777
788
  "showMore": "Show all {{count}} review",
778
- "showMore_plural": "Show all {{count}} reviews"
789
+ "showMore_plural": "Show all {{count}} reviews",
790
+ "showMoreLoaded": "Show {{count}} more review",
791
+ "showMoreLoaded_plural": "Show {{count}} more reviews"
779
792
  },
780
793
  "steps": {
781
794
  "step1": {
@@ -805,7 +818,8 @@
805
818
  "serviceHistory": "Full service history",
806
819
  "warranty": "Warranty",
807
820
  "yes": "Yes",
808
- "no": "No"
821
+ "no": "No",
822
+ "notSpecified": "not specified"
809
823
  },
810
824
  "common": {
811
825
  "needsData": "Data coming soon"
@@ -853,5 +867,25 @@
853
867
  "captionSlices": "Slices",
854
868
  "captionSteeringWheel": "Steering wheel",
855
869
  "captionWheelsLandingGear": "Wheels | landing gear"
870
+ },
871
+ "cookieModal": {
872
+ "dialogLabel": "Cookie settings",
873
+ "title": "Cookies first, then we are back on the road.",
874
+ "manageText": "We use cookies and other technologies to give you the best possible experience. You can manage them here.",
875
+ "necessary": {
876
+ "title": "Necessary",
877
+ "text": "We use browser cookies that are necessary for the website to work as intended. Example: we store your data collection preferences on the website so that we can respect them when you return to our website. You can disable these cookies in your browser settings, but if you do, the website may not work as intended."
878
+ },
879
+ "analytics": {
880
+ "title": "Analytics",
881
+ "text": "To understand user behaviour and give you a more relevant browsing experience or personalise the content of our website. Example: we collect information about which pages you visit so that we can show you more relevant information."
882
+ },
883
+ "marketing": {
884
+ "title": "Marketing",
885
+ "text": "To personalise advertising and measure its effectiveness on our website and other websites. Example: we may show you personalised advertising based on the pages you have visited on our website."
886
+ },
887
+ "privacyPolicy": "Privacy policy",
888
+ "saveSelection": "Save selection",
889
+ "acceptAll": "Accept all"
856
890
  }
857
891
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core-autobahn",
3
- "version": "1.0.210",
3
+ "version": "1.0.211",
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",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@bytebrand/car-schema-selectors": "^2.0.7",
13
- "@bytebrand/fe-financing": "^5.14.20",
13
+ "@bytebrand/fe-financing": "^5.14.31",
14
14
  "classnames": "2.2.6",
15
15
  "clsx": "^2.1.1",
16
16
  "d3-format": "1.4.5",