@bytebrand/fe-ui-core-autobahn 1.0.148 → 1.0.149

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 +32 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core-autobahn",
3
- "version": "1.0.148",
3
+ "version": "1.0.149",
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
@@ -5446,6 +5446,24 @@ line-height: 31px;
5446
5446
  order: -1;
5447
5447
  align-self: flex-end;
5448
5448
  }
5449
+ /* ...but without adding a line to the price row: the struck UVP overlays the empty space
5450
+ above the (52px on a 58px line) Kaufen figure, right-aligned over it — so Kaufen's hero is
5451
+ exactly as tall as the Finanzierung/Leasing one (15px Figma gap from the tab underline to
5452
+ the figure on every tab, nothing below it moves on a tab switch; see .cc-hero-stack). */
5453
+ .md3 .cc-price .pp-hero--buy .pp-hero-rate {
5454
+ position: relative;
5455
+ }
5456
+ .md3 .cc-price .pp-hero--buy .pp-hero-unit-group {
5457
+ position: absolute;
5458
+ right: 0;
5459
+ bottom: calc(100% - 11px);
5460
+ }
5461
+ /* nudge the Kaufen figure 3px down (visual only, layout untouched) so the overlaid struck UVP
5462
+ line clears its glyph tops */
5463
+ .md3 .cc-price .pp-hero--buy .pp-hero-val {
5464
+ position: relative;
5465
+ top: 3px;
5466
+ }
5449
5467
  /* Kaufen hero price on mobile — was falling through to the generic (rate-sized) .pp-hero-val
5450
5468
  above (65px, shrinking only via the rate-digit len4/5/6 classes cardParts.tsx never applies
5451
5469
  in Kaufen mode), so real purchase prices had no digit-based shrink at all here and could
@@ -6590,8 +6608,13 @@ line-height: 31px;
6590
6608
  Both capped to the fixed inset:0 scrim's CURRENT visible height (%, not vh — on iOS Safari
6591
6609
  100vh > the visible area while the toolbar shows, which pushed the sheet's top off-screen). */
6592
6610
  .md3 .fin-modal {
6611
+ /* room under the fold for whatever overlays the bottom of the screen: the home-indicator
6612
+ inset, and on iOS (WebKit only: -webkit-touch-callout) Safari's floating bottom toolbar,
6613
+ which sits ON TOP of fixed content — without it the "Finanzierungs-Details" link ended up
6614
+ hidden behind the toolbar. */
6615
+ --fin-sheet-bottom-gap: env(safe-area-inset-bottom, 0px);
6593
6616
  max-width: none;
6594
- height: min(var(--fin-sheet-fold, 85vh), calc(100% - 24px));
6617
+ height: min(calc(var(--fin-sheet-fold, 85vh) + var(--fin-sheet-bottom-gap)), calc(100% - 24px));
6595
6618
  max-height: none;
6596
6619
  background: #FFFFFF;
6597
6620
  box-shadow: 0px -4px 18px rgba(0, 0, 0, 0.13);
@@ -6601,6 +6624,14 @@ line-height: 31px;
6601
6624
  .md3 .fin-modal.fin-modal--expanded {
6602
6625
  height: calc(100% - 24px);
6603
6626
  }
6627
+ .md3 .fin-modal .fin-modal-body {
6628
+ padding-bottom: calc(13px + var(--fin-sheet-bottom-gap));
6629
+ }
6630
+ @supports (-webkit-touch-callout: none) {
6631
+ .md3 .fin-modal {
6632
+ --fin-sheet-bottom-gap: max(env(safe-area-inset-bottom, 0px), 64px);
6633
+ }
6634
+ }
6604
6635
  /* set from the frame after the first fold measure (not on open — no 85vh -> fold shrink) */
6605
6636
  .md3 .fin-modal.fin-modal--animated {
6606
6637
  transition: height 0.35s var(--ease-standard, ease);