@apliteni/apliteni-ui 0.7.0 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Apliteni shared design system & UI kit — tokens, components and the deck theme, framework-agnostic (HTML + CSS).",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -32,7 +32,24 @@
32
32
  .ui-table tr.is-dead td { color: var(--muted); }
33
33
  .ui-table tr.is-dead td.ui-table__title { text-decoration: line-through; }
34
34
  .ui-table tbody tr { transition: background var(--dur-fast) var(--ease); }
35
- .ui-table--hover tbody tr:hover { background: var(--surface-2); }
35
+
36
+ /* Row hover: an inset, rounded fill so the highlight never sits flush against a
37
+ * container's border (issue #71 — the full-bleed rectangle collided with a card's
38
+ * left edge). Separate border model with zero spacing keeps the row separators
39
+ * continuous while letting the row ends round; table padding (which only applies
40
+ * in the separate model) insets the rows so the fill clears the container edge.
41
+ * Zebra tables keep the original full-bleed tint (finance ledger), so they're
42
+ * excluded here — their hover rule lives further down. */
43
+ .ui-table--hover:not(.ui-table--zebra) {
44
+ border-collapse: separate;
45
+ border-spacing: 0;
46
+ padding: 0 6px;
47
+ }
48
+ .ui-table--hover:not(.ui-table--zebra) tbody tr:hover td { background: var(--surface-2); }
49
+ .ui-table--hover:not(.ui-table--zebra) tbody tr:hover td:first-child {
50
+ border-top-left-radius: var(--radius-sm); border-bottom-left-radius: var(--radius-sm); }
51
+ .ui-table--hover:not(.ui-table--zebra) tbody tr:hover td:last-child {
52
+ border-top-right-radius: var(--radius-sm); border-bottom-right-radius: var(--radius-sm); }
36
53
 
37
54
  /* ── Data-table modifiers (composable) ──────────────────────────────────────
38
55
  * Compose for a dense financial ledger: .ui-table--dense --zebra --hover.