@dotrino/nav 0.3.3 → 0.3.4
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 +6 -1
- package/src/index.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotrino/nav",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Navegación \"volver\" unificada del ecosistema Dotrino: controlador de pila (modal → pestaña → página anterior → dotrino.com) que intercepta el botón físico de Android / gesto de iOS / atrás del navegador, más el Web Component <dotrino-back> (chevron de header). Sin JS de terceros ni cookies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -56,5 +56,10 @@
|
|
|
56
56
|
"playwright": "1.60.0",
|
|
57
57
|
"typescript": "5.9.3",
|
|
58
58
|
"vue": "3.5.25"
|
|
59
|
+
},
|
|
60
|
+
"dotrino": {
|
|
61
|
+
"release": {
|
|
62
|
+
"check": "npm ci && npm run type-check && npx playwright install --with-deps chromium && npm test && npx --yes @dotrino/roadmap@latest check"
|
|
63
|
+
}
|
|
59
64
|
}
|
|
60
65
|
}
|
package/src/index.js
CHANGED
|
@@ -306,6 +306,9 @@ const BACK_I18N = { es: 'Volver', en: 'Back' }
|
|
|
306
306
|
const BACK_STYLE = `
|
|
307
307
|
:host {
|
|
308
308
|
all: initial;
|
|
309
|
+
/* «all: initial» también borra el tema: sin heredar color-scheme, light-dark() del color
|
|
310
|
+
sale siempre en claro (chevron oscuro sobre fondo oscuro). */
|
|
311
|
+
color-scheme: inherit;
|
|
309
312
|
display: inline-flex;
|
|
310
313
|
vertical-align: middle;
|
|
311
314
|
font-family: inherit;
|