comments: drop references to components that live in the app this kit came from
commit 8027c7aa3b20a8e7afc4e107183f5a5d3fba1567 · parent d2b3f3bb71
· browse this tree
Ximianth, 2026-10-10 06:08:59 UTC
yk-app and yk-balance were never part of the kit; the references survived the rename mechanically but describe nothing a reader here can find.
diff --git a/packages/yukey/src/focus-stack.ts b/packages/yukey/src/focus-stack.ts index c31dde2..4e67aab 100644 --- a/packages/yukey/src/focus-stack.ts +++ b/packages/yukey/src/focus-stack.ts @@ -99,7 +99,7 @@ export class FocusStack { } // The end of the line for pops: the page shell's one predictable focus home - // (the root surface -- yk-app points this at its map instance). + // (its root surface). setFallback(fallback: () => HTMLElement | null): void { this.#fallback = fallback; } diff --git a/packages/yukey/src/tokens.ts b/packages/yukey/src/tokens.ts index 9b54a0c..f413485 100644 --- a/packages/yukey/src/tokens.ts +++ b/packages/yukey/src/tokens.ts @@ -426,7 +426,7 @@ export function tokensCssText(groups: TokenGroup[]): string { } // unsafeCSS is safe here: the text is generated from the literal definitions in this -// file, never from runtime data (the same argument as yk-balance's GRID_TEMPLATE). +// file, never from runtime data. export const tokens: CSSResult = unsafeCSS(tokensCssText(tokenGroups)); // Installs the token definitions document-wide (a <style> in head). Custom diff --git a/packages/yukey/src/yk-infopop.ts b/packages/yukey/src/yk-infopop.ts index e590710..f233a4c 100644 --- a/packages/yukey/src/yk-infopop.ts +++ b/packages/yukey/src/yk-infopop.ts @@ -4,7 +4,7 @@ // is yk-info.ts; the norm is docs/precepts-we-love-the-keyboard.md "info pops"). // // One per app: place it once in the app shell's render (the gallery shell hosts -// one today; yk-app hosts one at migration), and every yk-info event and every +// one), and every yk-info event and every // [data-info] hover in that tree raises it. Two triggers: // // - Keyboard: a yk-info event (composed, so it bubbles here from any open diff --git a/packages/yukey/src/yk-list.gallery.ts b/packages/yukey/src/yk-list.gallery.ts index f45cd3d..fba15df 100644 --- a/packages/yukey/src/yk-list.gallery.ts +++ b/packages/yukey/src/yk-list.gallery.ts @@ -5,8 +5,7 @@ // fully keyboard-drivable, with focus surviving every kind of row death. The demo // is deliberately a THIN consumer: it owns the data, the row rendering, and what // the keys MEAN on task rows; yk-list owns the list norms (yk-list.ts holds that -// contract); yk-live-list under it owns row lifecycle. Copy this shape at -// migration time. +// contract); yk-live-list under it owns row lifecycle. Copy this shape. import { css, html, LitElement, nothing, type TemplateResult } from "lit"; import { customElement, property, state } from "lit/decorators.js";