@bytebrand/fe-ui-core-autobahn 1.0.22 → 1.0.23
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/package.json +1 -1
- package/theme/md3.css +12 -4
- package/vdp/VdpModules.tsx +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/fe-ui-core-autobahn",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
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
|
@@ -1165,8 +1165,10 @@
|
|
|
1165
1165
|
margin-bottom: -1px; transition: color .15s, border-color .15s; text-align: center; }
|
|
1166
1166
|
.md3 .fin-tab.on { color: var(--md-primary); border-bottom-color: var(--md-primary); }
|
|
1167
1167
|
.md3 .fin-tab:hover:not(.on) { color: var(--md-on-surface); }
|
|
1168
|
-
/* 2-col grid: left grows, right fixed 148px — pill (row 1) and bar (row 2) share a column edge, never wrap
|
|
1169
|
-
|
|
1168
|
+
/* 2-col grid: left grows, right fixed 148px — pill (row 1) and bar (row 2) share a column edge, never wrap.
|
|
1169
|
+
minmax(0,1fr) lets the rate column SHRINK below its content (plain 1fr's min is auto, which let the
|
|
1170
|
+
52px phone rate blow the whole card past the viewport). */
|
|
1171
|
+
.md3 .fin-price-grid { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 6px 16px; align-items: center; margin-top: 8px; }
|
|
1170
1172
|
.md3 .fin-rate-main { min-width: 0; }
|
|
1171
1173
|
/* rating pill — light tier-tinted bg, tier-colored text + icon (bg/color set inline per tier) */
|
|
1172
1174
|
.md3 .fin-eval-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px;
|
|
@@ -1487,10 +1489,16 @@
|
|
|
1487
1489
|
@media (max-width: 600px) {
|
|
1488
1490
|
/* full-bleed gallery: edge-to-edge, app-like (production pattern) */
|
|
1489
1491
|
.md3 .vdp-gallerybox { margin: 0 -24px; border-radius: 0; border: 0; box-shadow: none; }
|
|
1490
|
-
/* the carousel's own overlay dots move into the below-image controls row (page-rendered
|
|
1491
|
-
|
|
1492
|
+
/* the carousel's own overlay dots move into the below-image controls row (page-rendered;
|
|
1493
|
+
the dots div carries an inline display:flex — hence !important) */
|
|
1494
|
+
.md3 .vdp-gallerybox .cardcar-dots { display: none !important; }
|
|
1492
1495
|
/* mockup hero rate is a notch bigger on phone (inline style says 48 — hence !important) */
|
|
1493
1496
|
.md3 .fin-rate-main .num { font-size: 52px !important; letter-spacing: -1.5px !important; }
|
|
1497
|
+
/* narrower rating column (figma bar is 115px) frees room for the bigger rate; let the
|
|
1498
|
+
€ /mtl. suffix wrap under the number instead of pushing the grid wide on 4-digit rates */
|
|
1499
|
+
.md3 .fin-price-grid { grid-template-columns: minmax(0, 1fr) 112px; }
|
|
1500
|
+
.md3 .fin-rate-main > div { flex-wrap: wrap; }
|
|
1501
|
+
.md3 .fin-rate-main .md-body-sm { font-size: 15px !important; font-weight: 700 !important; color: var(--md-on-surface-variant) !important; }
|
|
1494
1502
|
}
|
|
1495
1503
|
|
|
1496
1504
|
/* ---------- save-search bar ---------- */
|
package/vdp/VdpModules.tsx
CHANGED
|
@@ -175,7 +175,8 @@ export interface VdpTrustRowProps {
|
|
|
175
175
|
* availability · view count · favorite count · "Geprüft" (every auto.de listing is
|
|
176
176
|
* 130-point inspected, so this one is always shown, not conditional real data). */
|
|
177
177
|
export const VdpTrustRow: React.FunctionComponent<VdpTrustRowProps> = ({ available, viewCount, favCount, t }) => (
|
|
178
|
-
|
|
178
|
+
// one swipeable line (mockup), never a ragged second row
|
|
179
|
+
<div style={{ display: 'flex', flexWrap: 'nowrap', overflowX: 'auto', scrollbarWidth: 'none', alignItems: 'center', gap: 6, marginTop: 10 }}>
|
|
179
180
|
{available && (
|
|
180
181
|
<span className="vdp-trust-chip">
|
|
181
182
|
<Icon name="check" size={13} stroke={2.4} color="var(--md-good)" />
|