@aurea-uds/native 0.15.0 → 0.16.1

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/dist/navigation.js +12 -2
  2. package/package.json +2 -2
@@ -281,9 +281,19 @@ export function BottomNav({ items, current, variant = "floating", indicator = "n
281
281
  indicator === "subtle" && { borderRadius: t.size.radiusCard - t.size.space1 },
282
282
  ativo && (indicator === "subtle" || indicator === "pill")
283
283
  && { backgroundColor: comOpacidade(t.color.primary, 0.12) },
284
+ // O círculo é o `flex:none; width:var(--bottomnav-bold,3.5rem)` da web (`aurea.css`,
285
+ // `.bottom-nav-ind-circle-bold`): não cresce, não encolhe, 56 de largura.
286
+ // 🔴 Escrito por EXTENSO, e não `flex: 0` — defeito visto pelo Victor no app rodando
287
+ // no navegador (02/10/2026): o `react-native-web` 0.21.3 passa `flex: 0` cru para o
288
+ // CSS, onde ele vale `0 1 0%`, e o círculo encolhia até o recheio (8 de largura, um
289
+ // risco amarelo). No Yoga `flex: 0` é "inflexível"; as três por extenso valem o mesmo
290
+ // nos dois. Quem cobra: `tests/unit/native-flex-navegador.test.tsx`.
291
+ // E o recheio dos lados volta a `space1` (o da `aba`): no `content` ele era `space3`,
292
+ // e dentro dos 56 sobravam 32 para o rótulo — "Avisos" saía "Avi…". Igual na web.
284
293
  ativo && indicator === "circle-bold" && {
285
- flex: 0, width: 56, borderRadius: t.size.radiusFull,
286
- backgroundColor: t.color.primary,
294
+ flexGrow: 0, flexShrink: 0, flexBasis: "auto", width: 56,
295
+ paddingHorizontal: t.size.space1,
296
+ borderRadius: t.size.radiusFull, backgroundColor: t.color.primary,
287
297
  },
288
298
  ], children: [_jsxs(View, { style: [
289
299
  // A moldura de 32 só serve aos indicadores redondos, em que ela VIRA o círculo. Nos
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurea-uds/native",
3
- "version": "0.15.0",
3
+ "version": "0.16.1",
4
4
  "description": "A Aurea UDS para React Native: o provider de tema e densidade, os componentes e os ícones do Phosphor sobre react-native-svg.",
5
5
  "keywords": [
6
6
  "aurea",
@@ -55,7 +55,7 @@
55
55
  "NOTICE"
56
56
  ],
57
57
  "dependencies": {
58
- "@aurea-uds/tokens": "^0.15.0"
58
+ "@aurea-uds/tokens": "^0.16.1"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@react-native-community/datetimepicker": ">=8",