@x-tech-laboratories/halon 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/halon.css +6 -0
  2. package/package.json +1 -1
package/halon.css CHANGED
@@ -502,6 +502,8 @@ button.card { width: 100%; height: auto; font-weight: 400; line-height: var(--li
502
502
 
503
503
  /* ── Trees ────────────────────────────────────────────────────────────────── */
504
504
 
505
+ /* A long path breaks anywhere rather than widening its column. */
506
+ .path { overflow-wrap: anywhere; }
505
507
  .change-summary { display: flex; gap: var(--space-4); flex-wrap: wrap; }
506
508
  .tree { display: grid; gap: var(--space-1); font-size: var(--text-control); }
507
509
  .tree-folder > summary { cursor: pointer; padding: var(--space-1) 0; }
@@ -723,6 +725,10 @@ th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--text-headin
723
725
  font-size: var(--text-control);
724
726
  }
725
727
  .menu { min-width: 180px; margin: 0; list-style: none; outline: none; }
728
+ /* A native popover is centred by default, so a menu or popover opened at a point drops that and takes its own place. */
729
+ .menu[popover], .popover[popover] { inset: auto; margin: 0; color: var(--text-body); }
730
+ /* An anchored popover hangs below its anchor, flipping above or across where there is no room. */
731
+ .popover.anchored { top: anchor(bottom); left: anchor(left); margin-top: var(--space-2); position-try-fallbacks: flip-block, flip-inline; }
726
732
  .popover { padding: var(--space-4); }
727
733
  .menu-item {
728
734
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-tech-laboratories/halon",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Halon for the web: the token sheet and the component styles the X-apps' pages are drawn with",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {