monowind 0.2.14 → 0.3.1

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/src/variants.css CHANGED
@@ -6,10 +6,16 @@
6
6
  * peer-* compose from them automatically. A consumer redefining a
7
7
  * variant later wins (last definition counts) — their selector must
8
8
  * include the data attribute to keep grid-mode states. The block form
9
- * preserves Tailwind's own (hover: hover) gate for hover. */
9
+ * preserves Tailwind's own (hover: hover) gate for hover.
10
+ *
11
+ * A covered element's own :hover is none of ours: the grid shows
12
+ * another box on those cells, and the browser drops the hover with the
13
+ * element's pointer events — WebKit a quarter second later, which the
14
+ * :where() covers at once, costing no specificity so no utility
15
+ * outranks another. */
10
16
  @custom-variant hover {
11
17
  @media (hover: hover) {
12
- &:is(:hover, [data-mw-hover]) {
18
+ &:is(:hover:where(:not([data-mw-covered])), [data-mw-hover]) {
13
19
  @slot;
14
20
  }
15
21
  }