@adecore/ui 0.31.9 → 0.31.11

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/dist/theme.css CHANGED
@@ -372,6 +372,8 @@
372
372
  mark that has to be findable, the pointer's is the lift under the cursor. */
373
373
  .menu-item[data-highlighted] { background: var(--surface-active); }
374
374
  :root[data-modality='pointer'] .menu-item[data-highlighted] { background: var(--surface-hover); }
375
+ /* A menu that keeps the focus in a field of its own (`highlightItemOnHover={false}`) still lifts the row under the cursor. */
376
+ :root[data-modality='pointer'] .menu-item:not([data-disabled]):hover { background: var(--surface-hover); }
375
377
  .menu-item[data-disabled] { opacity: .5; }
376
378
  /* Two lines against each other divide nothing, and so does a line at the top or the bottom of a
377
379
  menu. A menu is composed out of rows that each decide whether they are there, so the last word
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/ui",
3
- "version": "0.31.9",
3
+ "version": "0.31.11",
4
4
  "description": "React components, a theme, formatters and a settings dialog for desktop-grade apps on React 19, Base UI and Tailwind 4.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
package/src/theme.css CHANGED
@@ -372,6 +372,8 @@
372
372
  mark that has to be findable, the pointer's is the lift under the cursor. */
373
373
  .menu-item[data-highlighted] { background: var(--surface-active); }
374
374
  :root[data-modality='pointer'] .menu-item[data-highlighted] { background: var(--surface-hover); }
375
+ /* A menu that keeps the focus in a field of its own (`highlightItemOnHover={false}`) still lifts the row under the cursor. */
376
+ :root[data-modality='pointer'] .menu-item:not([data-disabled]):hover { background: var(--surface-hover); }
375
377
  .menu-item[data-disabled] { opacity: .5; }
376
378
  /* Two lines against each other divide nothing, and so does a line at the top or the bottom of a
377
379
  menu. A menu is composed out of rows that each decide whether they are there, so the last word