@hubpav/hwio-ui 0.7.2 → 0.7.3

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.2",
3
+ "version": "0.7.3",
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,9 +31,9 @@
31
31
  "build": "node scripts/build-themes.mjs"
32
32
  },
33
33
  "dependencies": {
34
- "@hubpav/hwio-brand": "0.7.2",
35
- "@hubpav/hwio-web-runtime": "0.7.2",
36
- "@hubpav/hwio-web-worker": "0.7.2",
34
+ "@hubpav/hwio-brand": "0.7.3",
35
+ "@hubpav/hwio-web-runtime": "0.7.3",
36
+ "@hubpav/hwio-web-worker": "0.7.3",
37
37
  "daisyui": "5.7.47"
38
38
  },
39
39
  "peerDependencies": {
@@ -264,3 +264,11 @@
264
264
  --menu-active-bg: transparent;
265
265
  --menu-active-fg: currentColor;
266
266
  }
267
+ /* DaisyUI 5.7.30+ also gives pressed buttons (aria-pressed / aria-checked) a filled ground. A ghost
268
+ toggle shows its state in its own content (HWioThemeToggle swaps moon and sun and sets
269
+ aria-pressed="true" in dark mode), so it keeps the transparent ground at rest; hover and focus
270
+ still tint it as before. */
271
+ .btn-ghost:is([aria-pressed='true'], [aria-checked='true']):not(:hover, :focus-visible, .btn-active) {
272
+ --btn-bg: #0000;
273
+ --btn-border: #0000;
274
+ }