@bytebrand/fe-ui-core-autobahn 1.0.83 → 1.0.84

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/cards/CarCard.tsx CHANGED
@@ -156,7 +156,9 @@ const CarCard: React.FunctionComponent<CarCardProps> = ({
156
156
  t={t}
157
157
  show={car.zeroDown}
158
158
  style={{
159
- width: 104,
159
+ // "€0 down payment" (en) doesn't fit the German pill's 104px — only German's
160
+ // "0 € Anzahlung" gets the narrow width, every other locale gets more room.
161
+ width: t('autobahn:card.price.zeroDown') === '0 € Anzahlung' ? 104 : 125,
160
162
  height: 30,
161
163
  padding: 0,
162
164
  justifyContent: 'center',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core-autobahn",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
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",