anentrypoint-design 0.0.488 → 0.0.489

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": "anentrypoint-design",
3
- "version": "0.0.488",
3
+ "version": "0.0.489",
4
4
  "description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
5
5
  "type": "module",
6
6
  "main": "./dist/247420.js",
@@ -459,10 +459,13 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
459
459
  display: inline-flex; align-items: center; gap: var(--space-hair);
460
460
  font-size: var(--fs-xs); font-weight: 600;
461
461
  }
462
- .kpi-delta-up { color: var(--success); }
462
+ /* --green, not --success (--green-2): --success measures 3.2:1 on --paper-2,
463
+ below the 4.5:1 AA floor for text -- --success is tuned for non-text uses
464
+ (fills/backgrounds, where 3:1 suffices), --green clears 5.2:1 as text. */
465
+ .kpi-delta-up { color: var(--green); }
463
466
  .kpi-delta-down { color: var(--danger); }
464
467
  .ds-sparkline path { stroke: currentColor; }
465
- .ds-sparkline-up { color: var(--success); }
468
+ .ds-sparkline-up { color: var(--green); }
466
469
  .ds-sparkline-down { color: var(--danger); }
467
470
 
468
471
  /* ============================================================
@@ -43,7 +43,12 @@ export function makeBtn(svg, label, role) {
43
43
  export function buildMenubar({ brand, withNewInstance }) {
44
44
  const menubar = document.createElement('div');
45
45
  menubar.className = 'os-menubar';
46
- menubar.setAttribute('role', 'menubar');
46
+ // toolbar, not menubar: role="menubar" requires every direct child to be
47
+ // role="menuitem"/menuitemcheckbox/menuitemradio, but this bar mixes plain
48
+ // buttons (home, add-instance), a brand label, an instance switcher, and a
49
+ // clock -- only appsBtn actually opens a dropdown menu. toolbar has no such
50
+ // children constraint and correctly describes "a row of controls".
51
+ menubar.setAttribute('role', 'toolbar');
47
52
  menubar.setAttribute('aria-label', 'Desktop menu bar');
48
53
 
49
54
  const homeBtn = makeBtn(icons.home, '', 'home');