@hubpav/hwio-ui 0.7.1 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubpav/hwio-ui",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "HARDWARIO web design system for Astro: DaisyUI 5 themes generated from the brand tokens, the Tailwind entry stylesheet and the HWio* components.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -31,10 +31,10 @@
31
31
  "build": "node scripts/build-themes.mjs"
32
32
  },
33
33
  "dependencies": {
34
- "@hubpav/hwio-brand": "0.7.1",
35
- "@hubpav/hwio-web-runtime": "0.7.1",
36
- "@hubpav/hwio-web-worker": "0.7.1",
37
- "daisyui": "5.7.28"
34
+ "@hubpav/hwio-brand": "0.7.2",
35
+ "@hubpav/hwio-web-runtime": "0.7.2",
36
+ "@hubpav/hwio-web-worker": "0.7.2",
37
+ "daisyui": "5.7.47"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "astro": "^7.0.0",
@@ -256,3 +256,11 @@
256
256
  outline: 2px solid var(--color-secondary);
257
257
  outline-offset: 2px;
258
258
  }
259
+ /* DaisyUI 5.7.30+ paints a menu link carrying aria-current like .menu-active (the neutral fill). The
260
+ header marks the current page with its own label colour and bar (.hwio-nav-current) and the drawer
261
+ lists it as a plain row, so those links keep the ground; .menu-active items (the language dropdown)
262
+ keep DaisyUI's fill. currentColor as `color` inherits, so the nav's own colour utilities still win. */
263
+ .menu :where(li) > [aria-current]:not([aria-current='false'], [aria-current=''], .menu-active, .btn) {
264
+ --menu-active-bg: transparent;
265
+ --menu-active-fg: currentColor;
266
+ }