@celestia-island/hikari 0.55.465 → 0.55.467

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": "@celestia-island/hikari",
3
- "version": "0.55.465",
3
+ "version": "0.55.467",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Hikari UI library, Vue 3 runtime — one design system for Vue 3 and Rust/WASM applications",
@@ -99,6 +99,11 @@
99
99
  display: flex;
100
100
  flex: none;
101
101
  align-items: center;
102
+ // The band's contents park on the TRAILING edge: the actions slot and
103
+ // the close affordance are both "way out" controls, and a band holding
104
+ // only the ✕ must not leave it stranded at the reading text's first
105
+ // column (2026-11-23 field report).
106
+ justify-content: flex-end;
102
107
  gap: var(--space-8, 0.5rem);
103
108
  padding: var(--space-12, 0.75rem)
104
109
  var(--hk-master-detail-detail-pad, var(--space-16, 1rem));
@@ -114,9 +119,9 @@
114
119
  flex: none;
115
120
  align-items: center;
116
121
  gap: var(--space-8, 0.5rem);
117
- // Without a title the actions still ride the band's trailing edge,
118
- // beside the close affordance.
119
- margin-inline-start: auto;
122
+ // No auto margin here: the band itself parks its contents on the
123
+ // trailing edge, so the actions and the close affordance stay adjacent
124
+ // whether one of them is present or both are.
120
125
  }
121
126
 
122
127
  .hk-master-detail-detail-body {
@@ -772,6 +772,16 @@ describe("HkMasterDetail — stylesheet contract", () => {
772
772
  expect(ruleBody(css, ".hk-master-detail-detail--column")).toContain("flex: 1");
773
773
  });
774
774
 
775
+ it("parks the head band's contents on the trailing edge", () => {
776
+ // A band holding only the close affordance left the ✕ at the reading
777
+ // text's first column; both it and the actions slot belong on the way
778
+ // out edge.
779
+ const head = ruleBody(css, ".hk-master-detail-detail-head");
780
+ expect(head).toContain("justify-content: flex-end");
781
+ const actions = ruleBody(css, ".hk-master-detail-detail-actions");
782
+ expect(actions).not.toContain("margin-inline-start: auto");
783
+ });
784
+
775
785
  it("keeps the head band pinned inside the pane's scroll", () => {
776
786
  const head = ruleBody(css, ".hk-master-detail-detail-head");
777
787
  expect(head).toContain("position: sticky");