@hubpav/hwio-ui 0.10.0 → 0.10.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.10.0",
3
+ "version": "0.10.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",
@@ -32,9 +32,9 @@
32
32
  "test": "node --test \"test/**/*.test.mjs\""
33
33
  },
34
34
  "dependencies": {
35
- "@hubpav/hwio-brand": "0.10.0",
36
- "@hubpav/hwio-web-runtime": "0.10.0",
37
- "@hubpav/hwio-web-worker": "0.10.0",
35
+ "@hubpav/hwio-brand": "0.10.2",
36
+ "@hubpav/hwio-web-runtime": "0.10.2",
37
+ "@hubpav/hwio-web-worker": "0.10.2",
38
38
  "daisyui": "5.7.47"
39
39
  },
40
40
  "peerDependencies": {
@@ -134,7 +134,13 @@ const linkAttrs = (item: HWioLinkItem) => (item.external ? { target: '_blank', r
134
134
  ))}
135
135
  </div>
136
136
  )}
137
- {languages.length > 1 && <HWioLanguageSwitcher items={languages} label={labels.languages ?? 'Language'} variant="pills" />}
137
+ {languages.length > 1 && (
138
+ <div>
139
+ {/* The visible group label (owner, 2026-11-03); the pills' nav carries the same accessible name. */}
140
+ <p class="mb-2 text-sm font-semibold text-[var(--hwio-text-secondary,currentColor)]" aria-hidden="true">{labels.languages ?? 'Language'}</p>
141
+ <HWioLanguageSwitcher items={languages} label={labels.languages ?? 'Language'} variant="pills" />
142
+ </div>
143
+ )}
138
144
  </div>
139
145
  </div>
140
146
  {megaItems.length > 0 && (
@@ -585,6 +585,16 @@
585
585
  opacity: 1;
586
586
  translate: 0 0;
587
587
  }
588
+ /* A group's chevron sits right after its label, not at the far edge of the sheet (owner, 2026-11-03: "too
589
+ distant"); the whole row still opens the group. */
590
+ .hwio-mobile-menu details > summary {
591
+ grid-template-columns: auto auto;
592
+ justify-content: start;
593
+ column-gap: 0.625rem;
594
+ }
595
+ .hwio-mobile-menu details > summary::after {
596
+ justify-self: start;
597
+ }
588
598
  /* With the sheet open the bar is solid: its translucent ground would show the page's heading behind the logo. */
589
599
  header:has(> .hwio-mobile-menu:not([hidden])) {
590
600
  background-color: var(--color-base-100);