@aurea-uds/native 0.12.1 → 0.12.2
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/dist/navigation.js +7 -2
- package/package.json +2 -2
package/dist/navigation.js
CHANGED
|
@@ -78,7 +78,9 @@ const folha = criarFolha((t) => ({
|
|
|
78
78
|
barra_content: { alignSelf: "center" },
|
|
79
79
|
aba: {
|
|
80
80
|
flex: 1, minWidth: 0, alignItems: "center", justifyContent: "center",
|
|
81
|
-
|
|
81
|
+
// `space05` e não `space1` — a barra mais baixa (30/09/2026, pedido do Victor, aprovado pela
|
|
82
|
+
// imagem). Com a moldura de 32 e o vão de 4 eram 9 entre o ícone e o rótulo; ver `marca`.
|
|
83
|
+
gap: t.size.space05, minHeight: t.size.controlHLg, padding: t.size.space1,
|
|
82
84
|
borderRadius: t.size.radiusControl,
|
|
83
85
|
},
|
|
84
86
|
// Com a pílula do tamanho do conteúdo, `flex: 1` MATA as abas: no RN ele é base ZERO, e a soma
|
|
@@ -266,7 +268,10 @@ export function BottomNav({ items, current, variant = "floating", indicator = "n
|
|
|
266
268
|
backgroundColor: t.color.primary,
|
|
267
269
|
},
|
|
268
270
|
], children: [_jsxs(View, { style: [
|
|
269
|
-
|
|
271
|
+
// A moldura de 32 só serve aos indicadores redondos, em que ela VIRA o círculo. Nos
|
|
272
|
+
// outros ela era folga vazia em volta do ícone de 24: fica da altura dele. A largura
|
|
273
|
+
// continua 32, que é o canto do contador. Igual na web (`aurea.css`).
|
|
274
|
+
s.marca, redondo ? s.marcaRedonda : { height: t.size.iconLg },
|
|
270
275
|
ativo && indicator === "circle" && { backgroundColor: comOpacidade(t.color.primary, 0.14) },
|
|
271
276
|
ativo && indicator === "circle-raised" && {
|
|
272
277
|
backgroundColor: t.color.popover, boxShadow: [t.shadow.shadowMd],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurea-uds/native",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "A Aurea UDS para React Native: o provider de tema e densidade, os componentes e os ícones do Carbon sobre react-native-svg.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aurea",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"NOTICE"
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@aurea-uds/tokens": "^0.12.
|
|
54
|
+
"@aurea-uds/tokens": "^0.12.2"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@react-native-community/datetimepicker": ">=8",
|