@celestia-island/hikari 0.55.498 → 0.55.499

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 (89) hide show
  1. package/dist/types/components/HkAffixPicker.d.ts +65 -22
  2. package/dist/types/components/HkFilterTrigger.d.ts +25 -0
  3. package/dist/types/components/HkListTransition.d.ts +54 -0
  4. package/dist/types/components/HkMenu.d.ts +55 -8
  5. package/dist/types/components/HkNotificationBell.d.ts +29 -1
  6. package/dist/types/components/HkPopover.d.ts +39 -0
  7. package/dist/types/components/HkSelect.d.ts +23 -0
  8. package/dist/types/components/HkSelectPanel.d.ts +73 -16
  9. package/dist/types/components/HkSelectionWaterfall.d.ts +9 -0
  10. package/dist/types/components/HkTagInput.d.ts +13 -7
  11. package/dist/types/components/HkTooltip.d.ts +8 -0
  12. package/dist/types/errorLandingStandalone/barrelShim.d.ts +1 -0
  13. package/dist/types/errorLandingStandalone/boot.d.ts +9 -0
  14. package/dist/types/errorLandingStandalone/main.d.ts +1 -0
  15. package/dist/types/index.d.ts +2 -0
  16. package/dist/types/overlay/topRoot.d.ts +66 -0
  17. package/dist/types/runtime/index.d.ts +1 -1
  18. package/dist/types/runtime/popupBounds.d.ts +13 -1
  19. package/dist/types/runtime/tooltipBridge.d.ts +9 -4
  20. package/package.json +2 -1
  21. package/src/components/HkAdminHeader.tsx +8 -1
  22. package/src/components/HkAffixPicker.scss +43 -3
  23. package/src/components/HkAffixPicker.sheetcap.test.ts +11 -0
  24. package/src/components/HkAffixPicker.test.tsx +336 -13
  25. package/src/components/HkAffixPicker.tsx +258 -115
  26. package/src/components/HkContextMenuProvider.content.test.tsx +12 -2
  27. package/src/components/HkCurrencySelect.scss +12 -2
  28. package/src/components/HkCurrencySelect.test.tsx +34 -0
  29. package/src/components/HkCurrencySelect.tsx +36 -25
  30. package/src/components/HkFilterTrigger.tsx +10 -0
  31. package/src/components/HkListTransition.scss +87 -36
  32. package/src/components/HkListTransition.styles.test.ts +154 -2
  33. package/src/components/HkListTransition.test.tsx +171 -1
  34. package/src/components/HkListTransition.tsx +90 -1
  35. package/src/components/HkLocalizedInput.test.tsx +11 -0
  36. package/src/components/HkLocalizedInput.tsx +5 -0
  37. package/src/components/HkMenu.test.ts +66 -5
  38. package/src/components/HkMenu.tsx +50 -6
  39. package/src/components/HkNotificationBell.scss +12 -0
  40. package/src/components/HkNotificationBell.styles.test.ts +11 -0
  41. package/src/components/HkNotificationBell.tsx +13 -1
  42. package/src/components/HkPopover.aboveChrome.test.tsx +134 -0
  43. package/src/components/HkPopover.tsx +52 -3
  44. package/src/components/HkSelect.scss +105 -13
  45. package/src/components/HkSelect.tsx +9 -0
  46. package/src/components/HkSelectPanel.aboveChrome.test.tsx +65 -0
  47. package/src/components/HkSelectPanel.pinnedheader.test.tsx +350 -0
  48. package/src/components/HkSelectPanel.sheetcap.contract.test.ts +87 -0
  49. package/src/components/HkSelectPanel.tsx +166 -24
  50. package/src/components/HkSelectionWaterfall.test.tsx +96 -0
  51. package/src/components/HkSelectionWaterfall.tsx +18 -2
  52. package/src/components/HkTagInput.scss +14 -3
  53. package/src/components/HkTagInput.singleScroll.contract.test.ts +11 -4
  54. package/src/components/HkTagInput.test.tsx +20 -10
  55. package/src/components/HkTagInput.tsx +49 -32
  56. package/src/components/HkTooltip.tsx +41 -2
  57. package/src/components/HkUserPicker.scss +18 -5
  58. package/src/components/HkUserPicker.test.tsx +34 -0
  59. package/src/components/HkUserPicker.tsx +46 -24
  60. package/src/components/chromeBand.contract.test.ts +72 -2
  61. package/src/composables/useContextMenu.test.tsx +12 -2
  62. package/src/errorLandingStandalone/barrelShim.ts +18 -0
  63. package/src/errorLandingStandalone/boot.tsx +140 -0
  64. package/src/errorLandingStandalone/error-landing.html +34 -0
  65. package/src/errorLandingStandalone/index.html +22 -0
  66. package/src/errorLandingStandalone/main.ts +12 -0
  67. package/src/errorReporting/errorLandingStandalone.test.ts +340 -0
  68. package/src/index.ts +19 -0
  69. package/src/overlay/overlayRoot.styles.test.ts +23 -0
  70. package/src/overlay/topRoot.scss +31 -0
  71. package/src/overlay/topRoot.styles.test.ts +84 -0
  72. package/src/overlay/topRoot.ts +98 -0
  73. package/src/overlayScrollbar.export.contract.test.ts +59 -0
  74. package/src/plugins/boot-recovery.details.test.ts +4 -1
  75. package/src/plugins/boot-recovery.diagnostics.test.ts +1 -1
  76. package/src/plugins/boot-recovery.error-context.test.ts +1 -1
  77. package/src/plugins/boot-recovery.locales.test.ts +1 -1
  78. package/src/plugins/bootLandingCss.js +1 -1
  79. package/src/runtime/animationBus.test.ts +44 -1
  80. package/src/runtime/animationBus.ts +20 -3
  81. package/src/runtime/index.ts +1 -0
  82. package/src/runtime/popupBounds.ts +22 -1
  83. package/src/runtime/tooltipBridge.test.ts +72 -0
  84. package/src/runtime/tooltipBridge.ts +53 -12
  85. package/src/runtime/tooltipPosition.ts +1 -7
  86. package/src/scale.scss +8 -1
  87. package/src/styles/index.scss +1 -0
  88. package/src/styles/theme/scale.scss +8 -1
  89. package/src/wasm/mermaid/hikari_wasm_mermaid.js +1 -1
@@ -30,16 +30,32 @@ export interface HkAffixOption {
30
30
  * host field (compose it inside an `HkInput` affix slot); clicking it
31
31
  * opens one canonical popup:
32
32
  *
33
- * - a SEARCH FIELD on top (live filter over label / meta / keywords);
34
- * - in `multi` mode, a TAG LIST of the currently selected keys.
35
- * Deleting a tag is a TWO-STEP interaction: the × opens the shared
36
- * HkMessageBox confirm dialog (danger tone, naming the entry), and
37
- * only its Confirm fires `remove`. `confirmRemove={false}` opts
38
- * out for hosts that confirm themselves. The popup stays open
39
- * behind the dialog so several tags can be managed in one pass;
33
+ * - a SEARCH FIELD on top (live filter over label / meta / keywords) —
34
+ * PINNED chrome (2026-11-27 user direction): it rides the panel's
35
+ * `pinnedHeader` slot, outside the scroll region on both form factors,
36
+ * so a long catalog scrolls UNDER it instead of taking it along;
37
+ * - `layout="rows"` (the multi default) — every option stays a row;
38
+ * selected rows wear the leading check mark and float to the top of
39
+ * the list in catalog order (stable — checking #4 drops it in after
40
+ * #3 and never reorders anything else), a divider separates them from
41
+ * the unselected rows, and a tap toggles the row (`select` when it
42
+ * joins, `remove` when it leaves — no confirm dialog: a check is a
43
+ * one-tap reversible act, unlike erasing a typed value). Reordering,
44
+ * filtering and the divider's arrival/exit all run through
45
+ * `HkListTransition` (FLIP move reported to the runtime animation
46
+ * bus — never a hand-rolled tween), so a checked row GLIDES to the
47
+ * front and an unchecked one glides back to its catalog slot;
48
+ * - `layout="tags"` — the value-editor shape (HkLocalizedInput's
49
+ * translation languages): in `multi` mode a TAG LIST of the currently
50
+ * selected keys renders above the search field (both pinned), and the
51
+ * rows list only the NOT-yet-selected options. Deleting a tag is a
52
+ * TWO-STEP interaction: the × opens the shared HkMessageBox confirm
53
+ * dialog (danger tone, naming the entry), and only its Confirm fires
54
+ * `remove`. `confirmRemove={false}` opts out for hosts that confirm
55
+ * themselves. The popup stays open behind the dialog so several tags
56
+ * can be managed in one pass;
40
57
  * - the option rows themselves: single mode shows every option and
41
- * closes on pick; multi mode lists the NOT-yet-selected options and
42
- * stays open for batch adds;
58
+ * closes on pick; multi mode keeps the popup open for batch toggles;
43
59
  * - a row (or tag) can carry a `badge` — the standard leading capsule
44
60
  * (primary mono, the model-tag num-segment language) for roster
45
61
  * ordinals and short codes; `flag` stays the emoji glyph slot and
@@ -52,15 +68,19 @@ export interface HkAffixOption {
52
68
  * ONE SCROLLBAR PER WINDOW: the popup mounts NO scroll region of its
53
69
  * own — the window surface it opens as (the desktop popout or the
54
70
  * mobile bottom sheet, both provided by HkSelectPanel) owns THE single
55
- * scrollbar and scrolls the whole popup content (tags + search + rows)
56
- * as one. The row list deliberately carries no max-height/overflow; a
57
- * nested second scrollbar inside the same window is a contract
58
- * violation (2026-09-08 user report: the language sheet scrolled twice).
59
- * The surface itself is capped at `min(18rem, 45dvh)` through HkMenu's
60
- * `maxHeight` forwarding (the HkTagInput measure, so the family reads
61
- * consistently), which bounds the one scroll region instead of letting it
62
- * stretch to the shared panel's 36rem ceiling. The popup's own designed
63
- * measure (13–19rem wide) is unchanged: the cap bounds HEIGHT only.
71
+ * scrollbar and scrolls the row list; the pinned head (tags + search)
72
+ * sits outside that region. The row list deliberately carries no
73
+ * max-height/overflow; a nested second scrollbar inside the same window
74
+ * is a contract violation (2026-09-08 user report: the language sheet
75
+ * scrolled twice). The DESKTOP popout is capped at `min(18rem, 45dvh)`
76
+ * through HkMenu's `maxHeight` forwarding (the HkTagInput measure, so the
77
+ * family reads consistently), which bounds the one scroll region instead
78
+ * of letting it stretch to the shared panel's 36rem ceiling; the MOBILE
79
+ * sheet ignores that measure and hugs its content up to the family
80
+ * ceiling of 80% of the viewport (HkSelectPanel's `maxHeight` doc — the
81
+ * same popout measure used to squash every picker sheet to under half
82
+ * the phone). The popup's own designed measure (13–19rem wide) is
83
+ * unchanged: the cap bounds HEIGHT only.
64
84
  *
65
85
  * With `tagValues`, the multi picker's TAG LIST switches to
66
86
  * value-driven primary text: a selected key renders its mapped value
@@ -83,12 +103,23 @@ export declare const HkAffixPicker: import("vue").DefineComponent<import("vue").
83
103
  type: PropType<readonly HkAffixOption[]>;
84
104
  required: true;
85
105
  };
86
- /** "single" closes on pick and shows a check on the active row;
87
- * "multi" renders the tag list and keeps the popup open. */
106
+ /** "single" closes on pick and shows the active row's checked face;
107
+ * "multi" toggles rows and keeps the popup open. */
88
108
  mode: {
89
109
  type: PropType<"single" | "multi">;
90
110
  default: string;
91
111
  };
112
+ /** How a MULTI picker presents its selection (user direction
113
+ * 2026-11-27). "rows" (default): every option stays a row — selected
114
+ * rows wear the leading check mark, float to the top in catalog
115
+ * order behind a divider, and a tap toggles them. "tags": the
116
+ * value-editor shape — selected keys render as a tag list pinned
117
+ * above the search, and the rows list only the remaining options.
118
+ * No effect in single mode. */
119
+ layout: {
120
+ type: PropType<"rows" | "tags">;
121
+ default: string;
122
+ };
92
123
  /** Selected key(s). A string in single mode, an array in multi. */
93
124
  selected: {
94
125
  type: PropType<string | readonly string[]>;
@@ -186,12 +217,23 @@ export declare const HkAffixPicker: import("vue").DefineComponent<import("vue").
186
217
  type: PropType<readonly HkAffixOption[]>;
187
218
  required: true;
188
219
  };
189
- /** "single" closes on pick and shows a check on the active row;
190
- * "multi" renders the tag list and keeps the popup open. */
220
+ /** "single" closes on pick and shows the active row's checked face;
221
+ * "multi" toggles rows and keeps the popup open. */
191
222
  mode: {
192
223
  type: PropType<"single" | "multi">;
193
224
  default: string;
194
225
  };
226
+ /** How a MULTI picker presents its selection (user direction
227
+ * 2026-11-27). "rows" (default): every option stays a row — selected
228
+ * rows wear the leading check mark, float to the top in catalog
229
+ * order behind a divider, and a tap toggles them. "tags": the
230
+ * value-editor shape — selected keys render as a tag list pinned
231
+ * above the search, and the rows list only the remaining options.
232
+ * No effect in single mode. */
233
+ layout: {
234
+ type: PropType<"rows" | "tags">;
235
+ default: string;
236
+ };
195
237
  /** Selected key(s). A string in single mode, an array in multi. */
196
238
  selected: {
197
239
  type: PropType<string | readonly string[]>;
@@ -282,6 +324,7 @@ export declare const HkAffixPicker: import("vue").DefineComponent<import("vue").
282
324
  }>, {
283
325
  title: string;
284
326
  mode: "single" | "multi";
327
+ layout: "rows" | "tags";
285
328
  disabled: boolean;
286
329
  side: "suffix" | "prefix";
287
330
  activeKey: string;
@@ -45,6 +45,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
45
  type: PropType<PopupPlacement>;
46
46
  default: string;
47
47
  };
48
+ /**
49
+ * Caption-band attachment opt-in (2026-11-17 user direction),
50
+ * forwarded to the panel: the trigger lives on the host's window
51
+ * caption band (the page action bar inside the chrome-band header),
52
+ * so the filter panel must paint ABOVE the band row instead of
53
+ * being buried under it (overlay/topRoot.ts). Hosts pass
54
+ * `isNative()`.
55
+ */
56
+ aboveChrome: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
48
60
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
61
  "update:modelValue": (_state: HkFilterState) => true;
50
62
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -69,6 +81,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
81
  type: PropType<PopupPlacement>;
70
82
  default: string;
71
83
  };
84
+ /**
85
+ * Caption-band attachment opt-in (2026-11-17 user direction),
86
+ * forwarded to the panel: the trigger lives on the host's window
87
+ * caption band (the page action bar inside the chrome-band header),
88
+ * so the filter panel must paint ABOVE the band row instead of
89
+ * being buried under it (overlay/topRoot.ts). Hosts pass
90
+ * `isNative()`.
91
+ */
92
+ aboveChrome: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
72
96
  }>> & Readonly<{
73
97
  "onUpdate:modelValue"?: ((_state: HkFilterState) => any) | undefined;
74
98
  }>, {
@@ -76,5 +100,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
100
  disabled: boolean;
77
101
  placement: PopupPlacement;
78
102
  modelValue: HkFilterState;
103
+ aboveChrome: boolean;
79
104
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
80
105
  export default _default;
@@ -31,6 +31,23 @@ type ListAnimVariant = "pop" | "slide" | "fade" | "grow" | "reveal" | "surface";
31
31
  * mount (open surfaces get the same gentle entrance as later updates);
32
32
  * reduced motion / the global animation switch (`html[data-css-animations
33
33
  * ="0"]`) disable the motion in scss.
34
+ *
35
+ * THE base container for "list items changed" (user direction 2026-11-27):
36
+ * every list-shaped surface in the library and its hosts — rows, cards,
37
+ * waterfalls — runs its add / remove / reorder through this component
38
+ * instead of a hand-rolled tween, so the choreography, the bus reporting
39
+ * and the reduced-motion collapse are written once. Durations are
40
+ * CUSTOMIZABLE with one default for the whole family: the move (FLIP)
41
+ * track runs `--hk-list-duration` (0.3s), the enter and leave tracks run
42
+ * half of it (0.15s) and start AT THE SAME TIME as the move — an old row
43
+ * shrinks away / a new one grows in while its neighbours glide into
44
+ * place, nothing waits for anything. A host overrides per instance with
45
+ * the `duration` / `enterDuration` / `leaveDuration` props (CSS times),
46
+ * or sets the three custom properties on any ancestor (fragment hosts —
47
+ * `tag=""` — have no element of their own to carry them, and custom
48
+ * properties inherit). The `surface` variant is the one exception: its
49
+ * rows ARE windows and keep the window family's own entrance/exit
50
+ * timings; only its move track follows `--hk-list-duration`.
34
51
  */
35
52
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
36
53
  tag: {
@@ -56,6 +73,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
56
73
  type: BooleanConstructor;
57
74
  default: boolean;
58
75
  };
76
+ /** Move (FLIP) duration as a CSS time. Default = the normal motion
77
+ * token (0.3s). Published as `--hk-list-duration` on the host
78
+ * element; the enter/leave tracks default to half of it. */
79
+ duration: {
80
+ type: StringConstructor;
81
+ default: undefined;
82
+ };
83
+ /** Enter-track override (CSS time); default = half the move. */
84
+ enterDuration: {
85
+ type: StringConstructor;
86
+ default: undefined;
87
+ };
88
+ /** Leave-track override (CSS time); default = half the move. */
89
+ leaveDuration: {
90
+ type: StringConstructor;
91
+ default: undefined;
92
+ };
59
93
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
94
  tag: {
61
95
  type: StringConstructor;
@@ -80,11 +114,31 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
80
114
  type: BooleanConstructor;
81
115
  default: boolean;
82
116
  };
117
+ /** Move (FLIP) duration as a CSS time. Default = the normal motion
118
+ * token (0.3s). Published as `--hk-list-duration` on the host
119
+ * element; the enter/leave tracks default to half of it. */
120
+ duration: {
121
+ type: StringConstructor;
122
+ default: undefined;
123
+ };
124
+ /** Enter-track override (CSS time); default = half the move. */
125
+ enterDuration: {
126
+ type: StringConstructor;
127
+ default: undefined;
128
+ };
129
+ /** Leave-track override (CSS time); default = half the move. */
130
+ leaveDuration: {
131
+ type: StringConstructor;
132
+ default: undefined;
133
+ };
83
134
  }>> & Readonly<{}>, {
84
135
  variant: ListAnimVariant;
85
136
  move: boolean;
86
137
  disabled: boolean;
87
138
  tag: string;
88
139
  appear: boolean;
140
+ duration: string;
141
+ enterDuration: string;
142
+ leaveDuration: string;
89
143
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
90
144
  export default _default;
@@ -27,6 +27,18 @@ import "./HkMenu.scss";
27
27
  * Data-driven mode (`items`) and composition mode (default slot) are
28
28
  * mutually exclusive per instance: when a default slot is provided its
29
29
  * content replaces the item model entirely (no cascade).
30
+ *
31
+ * Two head slots on the root level (popup variant):
32
+ * - `header` — a scrolling band ABOVE the rows, inside the panel's scroll
33
+ * region (section labels, identity cards): it travels with the list.
34
+ * - `pinnedHeader` — PINNED chrome that must not travel: a live-filter
35
+ * search field, first of all. Forwarded to HkSelectPanel's own
36
+ * `pinnedHeader` slot, which renders it outside the scroll region on
37
+ * both form factors (a band under the sheet's title row / the
38
+ * non-shrinking head of the popout column). Composition pickers
39
+ * (HkAffixPicker) put their search here so a long catalog scrolls
40
+ * under the field instead of taking it along (2026-11-27 user report).
41
+ * Cascade levels and mobile sub-sheets carry neither.
30
42
  */
31
43
  export interface HkMenuItem {
32
44
  key: string;
@@ -119,11 +131,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
131
  default: boolean;
120
132
  };
121
133
  /**
122
- * Cap for the panel surface of EVERY level, as any CSS length
134
+ * Cap for the DESKTOP POPOUT of every level, as any CSS length
123
135
  * (`min(18rem, 45dvh)`, `24rem`, …): it is forwarded to each
124
- * HkSelectPanel this menu renders — the root desktop popout, every
125
- * cascade level and each mobile sheet layer (every level is its own
126
- * scroll surface, so each one is capped).
136
+ * HkSelectPanel this menu renders — the root popout and every cascade
137
+ * level (each level is its own scroll surface, so each one is capped).
138
+ * The MOBILE SHEET layers never read it: since 2026-11-27 a sheet hugs
139
+ * its content up to the family ceiling of 80% of the viewport, so the
140
+ * cap a consumer tuned for the anchored popout cannot squash a sheet
141
+ * (see HkSelectPanel's `maxHeight`).
127
142
  *
128
143
  * Undefined (the default) forwards nothing at all, so the shared panel
129
144
  * keeps its own ceilings and every existing consumer — theme switchers,
@@ -197,6 +212,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
197
212
  type: BooleanConstructor;
198
213
  default: boolean;
199
214
  };
215
+ /**
216
+ * Caption-band attachment opt-in (2026-11-17 user direction),
217
+ * forwarded to EVERY HkSelectPanel this menu renders (root popout,
218
+ * every cascade level, each mobile sheet): the trigger lives on the
219
+ * host's window caption band (chest's workspace picker / account
220
+ * menu / console avatar), so the panels teleport to #hk-top-root and
221
+ * position against the raw window — they paint ABOVE the band row
222
+ * they hang from instead of being buried under it (see
223
+ * overlay/topRoot.ts). Hosts pass `isNative()`.
224
+ */
225
+ aboveChrome: {
226
+ type: BooleanConstructor;
227
+ default: boolean;
228
+ };
200
229
  }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
201
230
  "update:open": null;
202
231
  select: null;
@@ -274,11 +303,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
274
303
  default: boolean;
275
304
  };
276
305
  /**
277
- * Cap for the panel surface of EVERY level, as any CSS length
306
+ * Cap for the DESKTOP POPOUT of every level, as any CSS length
278
307
  * (`min(18rem, 45dvh)`, `24rem`, …): it is forwarded to each
279
- * HkSelectPanel this menu renders — the root desktop popout, every
280
- * cascade level and each mobile sheet layer (every level is its own
281
- * scroll surface, so each one is capped).
308
+ * HkSelectPanel this menu renders — the root popout and every cascade
309
+ * level (each level is its own scroll surface, so each one is capped).
310
+ * The MOBILE SHEET layers never read it: since 2026-11-27 a sheet hugs
311
+ * its content up to the family ceiling of 80% of the viewport, so the
312
+ * cap a consumer tuned for the anchored popout cannot squash a sheet
313
+ * (see HkSelectPanel's `maxHeight`).
282
314
  *
283
315
  * Undefined (the default) forwards nothing at all, so the shared panel
284
316
  * keeps its own ceilings and every existing consumer — theme switchers,
@@ -352,6 +384,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
352
384
  type: BooleanConstructor;
353
385
  default: boolean;
354
386
  };
387
+ /**
388
+ * Caption-band attachment opt-in (2026-11-17 user direction),
389
+ * forwarded to EVERY HkSelectPanel this menu renders (root popout,
390
+ * every cascade level, each mobile sheet): the trigger lives on the
391
+ * host's window caption band (chest's workspace picker / account
392
+ * menu / console avatar), so the panels teleport to #hk-top-root and
393
+ * position against the raw window — they paint ABOVE the band row
394
+ * they hang from instead of being buried under it (see
395
+ * overlay/topRoot.ts). Hosts pass `isNative()`.
396
+ */
397
+ aboveChrome: {
398
+ type: BooleanConstructor;
399
+ default: boolean;
400
+ };
355
401
  }>> & Readonly<{
356
402
  onSelect?: ((...args: any[]) => any) | undefined;
357
403
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
@@ -364,6 +410,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
364
410
  anchorRef: PanelAnchor | null;
365
411
  autoFlip: boolean;
366
412
  matchAnchorWidth: boolean;
413
+ aboveChrome: boolean;
367
414
  activeKey: string;
368
415
  mobileBreakpoint: number;
369
416
  selectMode: boolean | "auto";
@@ -1,3 +1,31 @@
1
1
  import "./HkNotificationBell.scss";
2
- declare const _default: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ /**
4
+ * Caption-band attachment opt-in (2026-11-17 user direction): the
5
+ * bell is mounted ON the host's window caption band (chest's
6
+ * HeaderEndCluster sits in the chrome-band header), so its panel
7
+ * must paint ABOVE that band — the row the bell hangs from must not
8
+ * bury the notification center. Hosts pass `isNative()`; a browser
9
+ * face has no caption band and keeps the overlay-root panel.
10
+ */
11
+ aboveChrome: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ /**
17
+ * Caption-band attachment opt-in (2026-11-17 user direction): the
18
+ * bell is mounted ON the host's window caption band (chest's
19
+ * HeaderEndCluster sits in the chrome-band header), so its panel
20
+ * must paint ABOVE that band — the row the bell hangs from must not
21
+ * bury the notification center. Hosts pass `isNative()`; a browser
22
+ * face has no caption band and keeps the overlay-root panel.
23
+ */
24
+ aboveChrome: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ }>> & Readonly<{}>, {
29
+ aboveChrome: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
3
31
  export default _default;
@@ -74,6 +74,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
74
74
  type: StringConstructor;
75
75
  default: string;
76
76
  };
77
+ /**
78
+ * The caption-band attachment opt-in (2026-11-17 user direction): the
79
+ * trigger of this popover lives ON the host's window caption band (the
80
+ * chrome-band row — chest's notification bell, top-bar menus, the
81
+ * console face's avatar), so the panel must paint ABOVE that band
82
+ * instead of being buried under the row it hangs from.
83
+ *
84
+ * The window titlebar stays the PAGE's top owner (modal veils keep
85
+ * yielding to it — the chrome-band contract in styles/admin-tokens);
86
+ * this opt-in teleports the surface into #hk-top-root, the band above
87
+ * the titlebar (overlay/topRoot.ts), and positions it against the RAW
88
+ * window so it may hug/overlap the band instead of being floored 4px
89
+ * below it. Hosts pass `isNative()` — a browser face has no caption
90
+ * band and keeps the plain overlay-root behavior.
91
+ */
92
+ aboveChrome: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
77
96
  }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
78
97
  "update:modelValue": (_v: boolean) => true;
79
98
  /** Fired when the surface joins the popup registry — the handle
@@ -170,6 +189,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
170
189
  type: StringConstructor;
171
190
  default: string;
172
191
  };
192
+ /**
193
+ * The caption-band attachment opt-in (2026-11-17 user direction): the
194
+ * trigger of this popover lives ON the host's window caption band (the
195
+ * chrome-band row — chest's notification bell, top-bar menus, the
196
+ * console face's avatar), so the panel must paint ABOVE that band
197
+ * instead of being buried under the row it hangs from.
198
+ *
199
+ * The window titlebar stays the PAGE's top owner (modal veils keep
200
+ * yielding to it — the chrome-band contract in styles/admin-tokens);
201
+ * this opt-in teleports the surface into #hk-top-root, the band above
202
+ * the titlebar (overlay/topRoot.ts), and positions it against the RAW
203
+ * window so it may hug/overlap the band instead of being floored 4px
204
+ * below it. Hosts pass `isNative()` — a browser face has no caption
205
+ * band and keeps the plain overlay-root behavior.
206
+ */
207
+ aboveChrome: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
173
211
  }>> & Readonly<{
174
212
  onMouseenter?: ((_event: MouseEvent) => any) | undefined;
175
213
  onMouseleave?: ((_event: MouseEvent) => any) | undefined;
@@ -186,6 +224,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
186
224
  anchorRef: HTMLElement | null;
187
225
  autoFlip: boolean;
188
226
  sheetOnMobile: boolean;
227
+ aboveChrome: boolean;
189
228
  closeOnBackdrop: boolean;
190
229
  closeOnEscape: boolean;
191
230
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -66,6 +66,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  type: PropType<SelectPanelPlacement>;
67
67
  default: string;
68
68
  };
69
+ /**
70
+ * Caption-band attachment opt-in (2026-11-17 user direction),
71
+ * forwarded to the panel: the trigger lives on the host's window
72
+ * caption band, so the popout teleports to #hk-top-root and paints
73
+ * ABOVE the band row instead of under it (overlay/topRoot.ts).
74
+ * Hosts pass `isNative()`.
75
+ */
76
+ aboveChrome: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
69
80
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
70
81
  "update:modelValue": (_value: string) => true;
71
82
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -122,6 +133,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
122
133
  type: PropType<SelectPanelPlacement>;
123
134
  default: string;
124
135
  };
136
+ /**
137
+ * Caption-band attachment opt-in (2026-11-17 user direction),
138
+ * forwarded to the panel: the trigger lives on the host's window
139
+ * caption band, so the popout teleports to #hk-top-root and paints
140
+ * ABOVE the band row instead of under it (overlay/topRoot.ts).
141
+ * Hosts pass `isNative()`.
142
+ */
143
+ aboveChrome: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
125
147
  }>> & Readonly<{
126
148
  "onUpdate:modelValue"?: ((_value: string) => any) | undefined;
127
149
  }>, {
@@ -132,6 +154,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
132
154
  required: boolean;
133
155
  placement: SelectPanelPlacement;
134
156
  modelValue: string;
157
+ aboveChrome: boolean;
135
158
  placeholder: string;
136
159
  panelTitle: string;
137
160
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -27,18 +27,32 @@ import "./HkSelect.scss";
27
27
  *
28
28
  * Geometry is the surface's to decide: `matchAnchorWidth` (default true,
29
29
  * select parity) ties the popout's minimum width to the trigger, and the
30
- * optional `maxHeight` caps whichever element scrolls (the desktop popout,
31
- * the mobile sheet's list band). Both are opt-outs — a consumer that passes
32
- * neither gets the historic panel, which is what every existing caller
33
- * does; a consumer whose content should scroll inside a hugged surface
34
- * (a tag catalog, a long filter list) sets them and relies on the panel's
35
- * ONE scrollbar.
30
+ * optional `maxHeight` caps the DESKTOP POPOUT (its body when a pinned
31
+ * header sits above it; the mobile sheet never reads it — see that prop's
32
+ * own doc). Both are opt-outs — a consumer that passes neither gets the
33
+ * historic panel, which is what every existing caller does; a consumer
34
+ * whose content should scroll inside a hugged surface (a tag catalog, a
35
+ * long filter list) sets them and relies on the panel's ONE scrollbar.
36
36
  *
37
37
  * Mobile sheets also run a duplicate-title filter: content that opens with
38
38
  * a non-interactive heading exactly repeating the panel `title` is hidden
39
39
  * (`.hk-sheet-dup-title`) — the sheet header already names the sheet, and
40
40
  * composition-slot consumers (HkMenu pickers) often carry a section label
41
41
  * with the same word. Desktop popouts draw no header and keep the heading.
42
+ *
43
+ * TWO content bands: `default` SCROLLS, `pinnedHeader` does not. The
44
+ * default slot is the surface's one scroll region (the desktop popout's
45
+ * body / the mobile sheet's list). The `pinnedHeader` slot is chrome that
46
+ * must stay reachable while that region scrolls — a live-filter search
47
+ * field above a long catalog, first of all — and renders OUTSIDE the scroll
48
+ * region on both form factors: a band under the sheet's title row, and a
49
+ * non-shrinking head of the popout column whose body hosts the scrollbar.
50
+ * It used to be that every picker (HkAffixPicker, HkTagInput, HkUserPicker,
51
+ * HkCurrencySelect) painted its search field INSIDE the scrolling content,
52
+ * so the first swipe down scrolled the filter off the sheet (2026-11-27
53
+ * user report, phone). A consumer that passes no `pinnedHeader` renders
54
+ * exactly the pre-slot DOM: the popout scrolls as one box, as it always
55
+ * did.
42
56
  */
43
57
  /**
44
58
  * The anchor contract this panel actually relies on: a viewport rect (for
@@ -107,13 +121,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
107
121
  type: BooleanConstructor;
108
122
  default: boolean;
109
123
  };
110
- /** Cap for the surface that scrolls — the desktop popout or the
111
- * mobile sheet's list band — as ANY CSS length (`min(18rem, 45dvh)`,
124
+ /** Cap for the DESKTOP POPOUT — as ANY CSS length (`min(18rem, 45dvh)`,
112
125
  * `24rem`, `calc(50vh - 3rem)`).
113
126
  *
114
- * Undefined (the default) keeps the stylesheet's own ceilings, so
127
+ * Undefined (the default) keeps the stylesheet's own ceiling, so
115
128
  * every existing consumer is untouched; a consumer whose content
116
- * should scroll instead of stretching the panel to the viewport sets
129
+ * should scroll instead of stretching the popout to the viewport sets
117
130
  * it, and the panel's ONE scrollbar (never a second region) does the
118
131
  * rest. Applied through the `--hk-select-panel-max-height` hook
119
132
  * HkSelect.scss reads, inside its `@supports (height: 1dvh)` branch —
@@ -122,7 +135,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
122
135
  * A MALFORMED value (a typo, a bare number) is likewise not sanitized:
123
136
  * the substituted declaration becomes invalid at computed-value time
124
137
  * and resolves to `max-height: none`, i.e. the surface is UNCAPPED —
125
- * the type gate is a CSS length, the value gate is the consumer's. */
138
+ * the type gate is a CSS length, the value gate is the consumer's.
139
+ *
140
+ * The MOBILE SHEET ignores it (2026-11-27 user direction): a sheet
141
+ * hugs its content up to the family ceiling of 80% of the viewport,
142
+ * whatever a consumer tuned for the anchored popout. The same
143
+ * `min(18rem, 45dvh)` that keeps a desktop catalog compact used to
144
+ * land on the sheet's list band too and squashed every picker sheet
145
+ * to under half the phone screen — the cap is a popout measure, and
146
+ * on the phone the content decides. */
126
147
  maxHeight: {
127
148
  type: StringConstructor;
128
149
  default: undefined;
@@ -132,6 +153,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
132
153
  type: BooleanConstructor;
133
154
  default: boolean;
134
155
  };
156
+ /**
157
+ * The caption-band attachment opt-in (2026-11-17 user direction):
158
+ * this panel's TRIGGER lives on the host's window caption band (the
159
+ * chrome-band row — chest's workspace picker / account menu and the
160
+ * console face's avatar), so the popout must paint ABOVE that band
161
+ * instead of being buried under the row it hangs from. Teleports to
162
+ * #hk-top-root (the band above the titlebar, overlay/topRoot.ts) and
163
+ * positions against the RAW window, so it may hug/overlap the band.
164
+ * Hosts pass `isNative()` — a browser face keeps the overlay root.
165
+ */
166
+ aboveChrome: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
135
170
  }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
136
171
  "update:open": (_v: boolean) => true;
137
172
  /** Raw keydown from the panel surface (arrows/enter for option owners). */
@@ -188,13 +223,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
188
223
  type: BooleanConstructor;
189
224
  default: boolean;
190
225
  };
191
- /** Cap for the surface that scrolls — the desktop popout or the
192
- * mobile sheet's list band — as ANY CSS length (`min(18rem, 45dvh)`,
226
+ /** Cap for the DESKTOP POPOUT — as ANY CSS length (`min(18rem, 45dvh)`,
193
227
  * `24rem`, `calc(50vh - 3rem)`).
194
228
  *
195
- * Undefined (the default) keeps the stylesheet's own ceilings, so
229
+ * Undefined (the default) keeps the stylesheet's own ceiling, so
196
230
  * every existing consumer is untouched; a consumer whose content
197
- * should scroll instead of stretching the panel to the viewport sets
231
+ * should scroll instead of stretching the popout to the viewport sets
198
232
  * it, and the panel's ONE scrollbar (never a second region) does the
199
233
  * rest. Applied through the `--hk-select-panel-max-height` hook
200
234
  * HkSelect.scss reads, inside its `@supports (height: 1dvh)` branch —
@@ -203,7 +237,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
203
237
  * A MALFORMED value (a typo, a bare number) is likewise not sanitized:
204
238
  * the substituted declaration becomes invalid at computed-value time
205
239
  * and resolves to `max-height: none`, i.e. the surface is UNCAPPED —
206
- * the type gate is a CSS length, the value gate is the consumer's. */
240
+ * the type gate is a CSS length, the value gate is the consumer's.
241
+ *
242
+ * The MOBILE SHEET ignores it (2026-11-27 user direction): a sheet
243
+ * hugs its content up to the family ceiling of 80% of the viewport,
244
+ * whatever a consumer tuned for the anchored popout. The same
245
+ * `min(18rem, 45dvh)` that keeps a desktop catalog compact used to
246
+ * land on the sheet's list band too and squashed every picker sheet
247
+ * to under half the phone screen — the cap is a popout measure, and
248
+ * on the phone the content decides. */
207
249
  maxHeight: {
208
250
  type: StringConstructor;
209
251
  default: undefined;
@@ -213,6 +255,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
213
255
  type: BooleanConstructor;
214
256
  default: boolean;
215
257
  };
258
+ /**
259
+ * The caption-band attachment opt-in (2026-11-17 user direction):
260
+ * this panel's TRIGGER lives on the host's window caption band (the
261
+ * chrome-band row — chest's workspace picker / account menu and the
262
+ * console face's avatar), so the popout must paint ABOVE that band
263
+ * instead of being buried under the row it hangs from. Teleports to
264
+ * #hk-top-root (the band above the titlebar, overlay/topRoot.ts) and
265
+ * positions against the RAW window, so it may hug/overlap the band.
266
+ * Hosts pass `isNative()` — a browser face keeps the overlay root.
267
+ */
268
+ aboveChrome: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
216
272
  }>> & Readonly<{
217
273
  onKeydown?: ((_e: KeyboardEvent) => any) | undefined;
218
274
  "onUpdate:open"?: ((_v: boolean) => any) | undefined;
@@ -225,5 +281,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
225
281
  autoFlip: boolean;
226
282
  matchAnchorWidth: boolean;
227
283
  sheetOnMobile: boolean;
284
+ aboveChrome: boolean;
228
285
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
229
286
  export default _default;