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

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 (45) hide show
  1. package/cards/CarCard.tsx +8 -1
  2. package/cards/CarCardSkeleton.tsx +103 -0
  3. package/cards/CarRow.tsx +5 -1
  4. package/cards/CarRowSkeleton.tsx +152 -0
  5. package/cards/cardParts.tsx +1368 -1363
  6. package/cards/index.ts +6 -0
  7. package/cards/types.ts +182 -182
  8. package/chrome/AccountMenuIcon.tsx +109 -0
  9. package/chrome/Footer.tsx +16 -3
  10. package/chrome/TopBar.tsx +139 -266
  11. package/compat/CookieModal/CookieModal.tsx +20 -6
  12. package/compat/CookieModal/Modal.tsx +6 -3
  13. package/compat/CookieModal/modals/ManageCookieModal/ManageCookieModal.tsx +43 -15
  14. package/compat/CookieModal/modals/PreviewCookieModal/PreviewCookieModal.tsx +4 -3
  15. package/compat/CookieModal/useModal.ts +5 -1
  16. package/compat/Loader/Loader.tsx +1 -7
  17. package/compat/MdField/MdField.tsx +28 -4
  18. package/compat/TimePicker/TimePicker.tsx +12 -2
  19. package/data/toAutobahnCar.ts +600 -586
  20. package/iconsvg/IconSVG.tsx +1 -5
  21. package/locales/de/autobahn.json +891 -857
  22. package/locales/en/autobahn.json +891 -857
  23. package/package.json +2 -2
  24. package/theme/md3.css +15678 -11743
  25. package/ui/CreditCostNotice.tsx +44 -44
  26. package/ui/CreditKeyFigures.tsx +244 -244
  27. package/ui/Dropdown.tsx +29 -10
  28. package/ui/FormCheckbox.tsx +22 -2
  29. package/ui/FormField.tsx +2 -1
  30. package/ui/Icon.tsx +6 -0
  31. package/ui/MfieldCheckIcon.tsx +13 -0
  32. package/ui/Modal.tsx +84 -6
  33. package/ui/Skeleton.tsx +79 -20
  34. package/ui/index.ts +96 -94
  35. package/ui/scrollFieldIntoView.ts +41 -0
  36. package/ui/usePortalMenuPosition.ts +27 -15
  37. package/utils/cookieConsent.ts +84 -0
  38. package/utils/index.ts +10 -0
  39. package/vdp/FinanceCalculator.tsx +1148 -1134
  40. package/vdp/VdpModules.tsx +3869 -4437
  41. package/vdp/index.ts +0 -3
  42. package/vdp/types.ts +7 -17
  43. package/vehiclesProps/accidentDisclosure.ts +25 -0
  44. package/vehiclesProps/decoratedLightProps.tsx +4 -0
  45. package/vehiclesProps/decoratedProps.tsx +4 -0
@@ -7,7 +7,7 @@ type TIconSVG = {
7
7
  customDimensions?: boolean;
8
8
  };
9
9
 
10
- const IconSVG: React.FC<TIconSVG> = ({ name, isWarrantyActive, customDimensions, ...props }: TIconSVG) => {
10
+ const IconSVG: React.FC<TIconSVG> = ({ name, isWarrantyActive, customDimensions = false, ...props }: TIconSVG) => {
11
11
  if (!name) return null;
12
12
 
13
13
  const Component: any = components[name.toString()];
@@ -23,8 +23,4 @@ const IconSVG: React.FC<TIconSVG> = ({ name, isWarrantyActive, customDimensions,
23
23
  );
24
24
  };
25
25
 
26
- IconSVG.defaultProps = {
27
- customDimensions: false
28
- };
29
-
30
26
  export default IconSVG;