@bytebrand/fe-ui-core-autobahn 1.0.70 → 1.0.71

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 (2) hide show
  1. package/package.json +1 -1
  2. package/theme/md3.css +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core-autobahn",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
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
@@ -4411,6 +4411,11 @@ line-height: 31px;
4411
4411
  .md3 .listcard-price .pricepaths .pp-uvp-tooltip-close svg { width: 14px; height: 14px; }
4412
4412
  .md3 .listcard-price .pricepaths .pp-uvp-tooltip-body { font-size: 11px; line-height: 13px; color: #0e2238; }
4413
4413
  .md3 .pp-hero-terms { margin-top: 9px; font-size: 11.5px; color: var(--md-on-surface-variant); }
4414
+ /* desktop mcard financing hero terms line: at the shared 11.5px size "0 € Anzahlung · 60 Monate
4415
+ Laufzeit · Details" needs ~223px but the 240px column only leaves ~207px, so "Details" wrapped
4416
+ onto its own line — shrunk just enough (measured against the real column width) to keep it on
4417
+ one line, matching the Figma reference. */
4418
+ .md3 .listcard-price .pricepaths .pp-hero-terms { font-size: 10.5px; }
4414
4419
  /* "Details" link at the end of the financing/leasing terms lines (Figma "mcard") — quiet, same
4415
4420
  color as the rest of the terms line but underlined so it still reads as tappable. */
4416
4421
  .md3 .pp-details-link { color: var(--md-primary); text-decoration: underline; font-weight: 600; white-space: nowrap; }
@@ -4459,10 +4464,15 @@ line-height: 31px;
4459
4464
  color: var(--md-outline);
4460
4465
  flex: none;
4461
4466
  }
4467
+ /* Figma "mcard": Leasing's price is already one line (no old price to caption); Kaufen's struck
4468
+ old price + new price used to stack on two lines (column), giving the row double the height and
4469
+ breaking the row-to-row rhythm with Leasing right above it — same line now, old price baseline-
4470
+ aligned beside the new one, matching the reference exactly. */
4462
4471
  .md3 .pp-row-price {
4463
4472
  display: flex;
4464
- flex-direction: column;
4465
- align-items: flex-end;
4473
+ flex-direction: row;
4474
+ align-items: baseline;
4475
+ gap: 8px;
4466
4476
  line-height: 1.08;
4467
4477
  min-width: 0;
4468
4478
  }