Skip to content

StreamHub v0.1.158

Choose a tag to compare

@jgt87 jgt87 released this 08 Nov 22:19
· 9 commits to main since this release

Added

  • UI kit, new parts built only from the kit's existing tokens and classes (existing parts render as before; kit revision not raised yet): a tooltip for icon buttons and cut-off text, data-kit-tooltip="TEXT" instead of title (the info tip's bubble, kit-tooltip; after the pointer rests, at once on keyboard focus and next to one that just closed, never on touch; Escape, a press, scroll and wheel close it; the light/dark button uses it too); an error state with a way out, kit-notice kit-notice--error with role="alert" and a Retry button in kit-notice__actions; a Dismiss button on every toast (kit-toast__close, close: false leaves it out), and toasts wait while pointed at or focused; a context menu, data-kit-context on a row or card whose kit-menu (its visible ellipsis button) also opens at the pointer on a right click, Shift+F10 or the context menu key (kit:menu gets detail.target); a command palette for apps with a kit-shell, <dialog class="kit-dialog kit-palette" data-kit-palette> with a kit-search__list, opened with Ctrl+K (kit:command). Examples sections and rule lines for each.
  • UI kit React parts: Tooltip, ThemeToggle, AppShell and CommandPalette; Toaster toasts have the Dismiss button and wait while pointed at (dismissToast); Menu takes buttonLabel (an icon button) and contextRef (also the context menu of that element).
  • UI kit for window apps: WPF styles KitBadge (with KitBadgeAccent, -Ok, -Warn, -Error), KitNotice (with -Ok, -Warn, -Error) and the KitSwitch toggle, on the soft status colours ({{ok-soft}}, {{warn-soft}}, {{error-soft}}); the Windows Forms theme also colours tab controls (the open tab over an accent line), trees, list views, progress and track bars, menus, context menus, tool and status bars and picked grid rows, and Set-KitToolTipStyle colours a ToolTip.

Changed

  • UI kit, behaviour and accessibility only (the look is unchanged; kit revision not raised yet): Escape in a popover, menu, list panel, search list or info tip closes only that part, never the dialog or side panel around it; KitUI.confirm with danger (and the React useConfirm) puts the focus on Cancel, and a second KitUI.confirm/alert waits until the first is answered; error toasts are read at once (role="alert") and warning and error toasts say their word to screen readers; the info tip opens after the pointer rests on it (at once on focus, and at once next to a tip that just closed), shows below its button when there is no room above and closes on scroll, wheel or a press elsewhere; the multi-select button announces a dialog panel (aria-haspopup="dialog", aria-controls) and Tab out of it closes it; screen readers hear a tag added or removed, a board card moved (column and place), a hold button described as a hold and its completion, and the number of search suggestions; the tree's toggles no longer repeat "Open or close" on every row; the animated tab underline moves by transform instead of width; hover styles apply only where the device can hover (no stuck hover after a tap); in Windows contrast themes every focused kit part shows an outline, and progress, switch and chart fills keep their colours; with reduced motion the side panel and toasts fade in instead of appearing at once.
  • UI kit React parts: SearchBox is a combo box with listbox and option roles and reads out its result count; useConfirm dialogs are labelled by their title and text; Calendar uses a named group instead of a grid without rows; CommandButton takes busy and busyText (spinner plus a status line for screen readers).
  • UI kit tokens: z-index layers --kit-z-sticky, --kit-z-dropdown, --kit-z-tip, --kit-z-toast, --kit-z-skip (today's values, in both colour files; kit.css falls back to the same numbers for an older tokens.css). Tailwind names for --kit-title, --kit-icon, --kit-accent-tint-1 to -3, --kit-text-2xs, --kit-radius-sm, the speeds and the layers (Tailwind 3 and 4).
  • The kit's contrast check also measures text on the accent tints (--kit-accent-tint-1 to -3), resolving var() and color-mix() values.
  • The kit rule and examples: a busy button gets a kit-sr-only role="status" line beside it; layers come from the --kit-z-* tokens.

Fixed

  • The system check at start noticed a port taken by another program only when Windows listed it, which some Windows builds leave out: it now also tries the port itself, so a busy web or Edge port is moved to a free one instead of failing later.