@bytebrand/fe-ui-core-autobahn 1.0.25 → 1.0.26
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 +4 -4
- package/vdp/FinanceCalculator.tsx +3 -1
- package/vdp/VdpModules.tsx +1 -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.26",
|
|
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
|
@@ -157,10 +157,10 @@
|
|
|
157
157
|
.md3 .listcard-chips .chip:hover { background: var(--md-surface); border-color: var(--md-outline-variant); }
|
|
158
158
|
/* VDP trust row (Sofort verfügbar/views/favorites/Geprüft) — mobile-only, so the figma
|
|
159
159
|
push-chip palette is used literally (light blue-gray fill, dark bold label). */
|
|
160
|
-
.md3 .vdp-trust-chip { display: inline-flex; align-items: center; gap:
|
|
160
|
+
.md3 .vdp-trust-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px;
|
|
161
161
|
border-radius: 11px; font-size: 11px; font-weight: 700; line-height: 1; cursor: default; white-space: nowrap;
|
|
162
|
-
background: #F5F7FA; color: #1D2A38; border: 1px solid #E5EAF0; }
|
|
163
|
-
.md3 .vdp-trust-chip .lucide { width:
|
|
162
|
+
background: #F5F7FA; color: #1D2A38; border: 1px solid #E5EAF0; flex: none; }
|
|
163
|
+
.md3 .vdp-trust-chip .lucide { width: 14px; height: 14px; flex: none; }
|
|
164
164
|
|
|
165
165
|
/* status / rating chip (no CTA) */
|
|
166
166
|
.md3 .statchip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px;
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
.md3 .vdp-header-summary .vdp-trim { display: none; }
|
|
1390
1390
|
.md3 .vdp-header-summary .vdp-meta { display: flex; flex-wrap: wrap; grid-template-columns: none; margin-top: 6px;
|
|
1391
1391
|
font-size: 13.5px; font-weight: 400; color: var(--md-on-surface-variant); }
|
|
1392
|
-
.md3 .vdp-header-summary .vdp-meta > span + span::before { content: ''; }
|
|
1392
|
+
.md3 .vdp-header-summary .vdp-meta > span + span::before { content: ''; margin: 0 8px; }
|
|
1393
1393
|
.md3 .vdp-header-summary .vdp-meta > span { overflow: visible; text-overflow: clip; }
|
|
1394
1394
|
.md3 .vdp-header-summary .vdp-meta .lucide { display: none; }
|
|
1395
1395
|
.md3 .vdp-header-summary .vdp-meta > span:nth-child(5) { display: none; }
|
|
@@ -530,7 +530,9 @@ const FinanceCalculator: React.FunctionComponent<FinanceCalculatorProps> = ({
|
|
|
530
530
|
}}
|
|
531
531
|
>
|
|
532
532
|
<Icon name="info" size={18} color="var(--md-on-surface-variant)" style={{ flex: 'none' }} />
|
|
533
|
-
|
|
533
|
+
{/* no max-width: "Finanzierungsdetails" is one unbreakable word — capping the
|
|
534
|
+
span clipped it mid-word instead of wrapping */}
|
|
535
|
+
<span className="md-label-sm" style={{ lineHeight: 1.5 }}>
|
|
534
536
|
{mode === 'leasing' ? t('autobahn:finance.leasingDetails') : t('autobahn:finance.financingDetails')}
|
|
535
537
|
</span>
|
|
536
538
|
</button>
|
package/vdp/VdpModules.tsx
CHANGED
|
@@ -176,7 +176,7 @@ export interface VdpTrustRowProps {
|
|
|
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:
|
|
179
|
+
<div style={{ display: 'flex', flexWrap: 'nowrap', overflowX: 'auto', scrollbarWidth: 'none', alignItems: 'center', gap: 5, marginTop: 10 }}>
|
|
180
180
|
{available && (
|
|
181
181
|
<span className="vdp-trust-chip">
|
|
182
182
|
<Icon name="check" size={13} stroke={2.4} color="var(--md-good)" />
|