Skip to content

Releases

v0.97.0

Choose a tag to compare

@DorskFR DorskFR released this 30 Nov 23:35
v0.97.0
3ddc073

Closes the last open Tsumikit tickets.

SvelteKit 3 (TSU-381)

  • Versions: kit 3.4.1, adapter-static 4, vite-plugin-svelte 7, @sveltejs/package 3, Vite 8, TypeScript 6, across the library, the demo and examples/starter.
  • Config and imports: kit config moves into sveltekit({...}) in vite.config.ts. $lib becomes #lib/….js, tsconfig extends $app/tsconfig, and demo links use resolve().
  • Demo chunks: the per-section chunks now use rolldown codeSplitting groups.
  • Published dist/: every import is relative with an explicit .js extension, and none of $lib/#lib/$app remain. publint reports "All good!". The exports map and peer dependencies are unchanged.
  • Audit: npm audit --include=dev reports 0 vulnerabilities in the root and the starter (it was 1 high and 2 low: kit, cookie, adapter-static).

jsdom 30.1 (TSU-382)

  • jsdom 30.1.2 stopped focusing elements hidden by display: none. It never matches :popover-open, so the tests' stubbed popovers stayed hidden. A shared tests/helpers/popover.js now emulates the Popover API for tests.
  • register.mjs adds a scrollIntoView no-op to every test window, and the announcer test polls instead of using fixed waits. No component changes.

Consumer impact

  • Nothing breaks: the peer dependency is still svelte ^5, the exports map is unchanged, and the dist import paths now carry explicit .js extensions.

v0.96.0

Choose a tag to compare

@DorskFR DorskFR released this 30 Nov 21:42
v0.96.0
9db8d9e

Ships every open Tsumikit ticket: a new status toast, two markdown XSS fixes, and the November review fixes.

Highlights

  • Status toasts (TSU-379, TSU-357): toasts.status() / toasts.update() give a sticky toast that stays on one row: icon or spinner, message, a muted countdown that is not re-announced, and an action. It updates in place. Also adds a warn tone, a busy state that shows the action as pending instead of greyed out, and an optional top lane below --toaster-offset-top. Action toasts now have a real Dismiss button.
  • Security (TSU-358, TSU-360, High): renderMarkdown could be made to put event-handler attributes on links, through a bare URL followed by a link or a fence. Autolinking now runs in the inline pass, URL scans stop at every placeholder, fences are restored only as whole lines, and escapeHtml escapes '.
  • Focus kept while busy (TSU-365, TSU-380): a loading Button or link uses aria-disabled + aria-busy, so focus is never dropped. A busy Composer keeps its field focused.

Fixes

  • DataTable sorts Dates, numbers and numeric strings by value (Column.sortValue). Clickable rows have a single Tab stop with ↑/↓/Home/End instead of a half-implemented role=grid (TSU-362, TSU-363).
  • Composer attaches pasted or dropped files only when it can, filtered by accept. Dropped files never make the browser navigate (TSU-372).
  • Card is role=button only when it has no nested controls, and a consumer onkeydown runs first. A Badge's action button sits beside its link instead of inside it (TSU-366, TSU-375).
  • Carousel leaves arrow keys to controls inside slides and keeps focus at the ends (TSU-368, TSU-369).
  • A hover Popover never closes a focused or click-opened panel, and the toggle trigger exposes only aria-expanded (TSU-371, TSU-378).
  • SegmentedControl counts are read out, and icon segments take ariaLabel (TSU-370). NotificationItem fires onopen once and keeps focus through the confirm step (TSU-373). OptionButton and RadioGroup no longer read the description twice (TSU-377).
  • Progress with max=0 no longer produces NaN, Input's clear button respects disabled/readonly and fires an input event, the Thinking dots are announced, and Dropzone accepts the same file picked again (TSU-364, TSU-367, TSU-374, TSU-376).
  • serialize() round-trips phrases that contain keywords or field-like tokens (TSU-361).
  • Dev tooling bumped past the November CVEs (TSU-359). The remaining kit 3-only fix is tracked in TSU-381.

Behaviour changes for consumers

  • A Toaster's stack is centred with margin: auto instead of a translate.
  • A fenced code block that starts mid-line now renders as literal text.
  • An interactive Card that contains controls is no longer keyboard-focusable as a whole (a dev warning explains why).
  • A clickable Badge with an action renders a wrapper <span>. class and style go on the wrapper; other attributes go on the main control.

Follow-ups: TSU-381 (SvelteKit 3 for the demo/starter), TSU-382 (jsdom 30.1 test compatibility).

v0.95.3

Choose a tag to compare

@DorskFR DorskFR released this 26 Nov 07:50
v0.95.3
3c1c1ea
  • Textarea: a grouped autoresize Textarea no longer flickers while the text wraps. Once the text wraps beside the buttons, they move into the bar under the text and stay there; no more transient tall frames or ResizeObserver loop errors while typing.

v0.95.2

Choose a tag to compare

@DorskFR DorskFR released this 26 Nov 03:50
v0.95.2
d930d2e
  • Timestamp: the details trigger has its resting dotted underline back, identical to 0.94 (--border-strong at rest, currentColor on hover and focus).
  • SegmentedControl: new shape="square" (separate tiles, no track) and per-option tone / color, which ring the selected option and tint its count.
  • Card: a borderless (shade) card hides only its outer border and keeps its head and foot separators.
  • NotificationCenter: bell={false} drops the trigger; open it with bind:open (right-side drawer, or bottom sheet where sheet applies), focus returns to the opener on close.

v0.95.1

Choose a tag to compare

@DorskFR DorskFR released this 26 Nov 00:42
v0.95.1
ac99a2d

Link and inline icon buttons no longer paint a faint accent haze at rest.

0.95.0 gave link, inline icon and counted buttons an invisible 24/44 px hit area on ::before. The hover effects (smoke, ember, aurora) still styled every .btn::before/::after, so their gradient painted at full opacity on those hit areas, at rest and under reduced motion. Aurora also stretched the hit area to about 3x the button width, so such buttons took clicks over their neighbours.

The effect rules now skip .btn-link, .btn-icon-inline and .btn-counted, like the layer rule already did. A new Chromium test checks that every hit area paints nothing (at rest, hovered, focused; every effect; with and without reduced motion) and stays within the button plus its slab.

v0.95.0

Choose a tag to compare

@DorskFR DorskFR released this 25 Nov 22:29
v0.95.0
57e465f

Design pass driven by a UI audit of a consumer app: calmer hierarchy, bigger hit areas, fewer outlines.

  • Text tiers: text, muted and faint are clearly separated in every theme (text ≥ 1.5× muted; muted stays ≥ 4.6:1 on every surface). Only lightness moves, hues are kept. Components use weights 400 / 600 / 700 only (--fw-medium now renders 600).
  • Type scale: 12 / 13 / 15 / 18 / 22 / 28, scaled sizes round to whole pixels where round() is supported. Removed steps (--fs-2xs, --fs-md, --fs-3xl) alias to the nearest kept step.
  • Spacing: --sp-1-5 and --sp-5 are deprecated (values unchanged); kit components no longer use them.
  • Card: a neutral Card stands off the page by shade, not an outline. border="solid" keeps the outline.
  • Hit targets: small controls (IconButton, menu triggers, chips, toggles) get an invisible overlay hit area, 24 px on fine pointers and 44 px on coarse pointers, with no layout change. New tokens --hit-target, --hit-slab.
  • ConfirmModal: tone="danger" renders a filled red confirm button (--text-on-danger).
  • Timestamp: no dotted underline at rest; it appears on hover / focus.
  • Icons: mic, mic-off.
  • SplitButton: variant="ghost".
  • Test: the accent must sit at least 30° of hue away from green in every theme.

No API breaks; old prop values and token names keep working.

v0.94.2

Choose a tag to compare

@DorskFR DorskFR released this 20 Nov 14:21
v0.94.2
d89a2a9

What's Changed

  • Card: pressing a nested control no longer press-scales the card (0.94.2) (TSU-340) by @DorskFR in #176

Full Changelog: v0.94.1...v0.94.2

v0.94.1

Choose a tag to compare

@DorskFR DorskFR released this 20 Nov 06:32
7b0d415

What's Changed

  • Badge ink, ghost focus, bubble scoping, tone colours, prerender classes (0.94.1) (TSU-352..TSU-356) by @DorskFR in #175

Full Changelog: v0.94.0...v0.94.1

v0.94.0

Choose a tag to compare

@DorskFR DorskFR released this 19 Nov 08:48
v0.94.0
4d07e33

Breaking: components no longer read per-component custom properties (--btn-bg, --badge-fs, …). See docs/MIGRATION-0.94.md for the replacements (tokens, new props, or a class).

What's Changed

  • Components style from root tokens; style hooks removed (0.94.0) (TSU-342..TSU-351) by @DorskFR in #174

Full Changelog: v0.93.0...v0.94.0

v0.93.0

Choose a tag to compare

@DorskFR DorskFR released this 19 Nov 02:40
v0.93.0
e564274

What's Changed

  • Showcase: one page per component (0.93.0) (TSU-341) by @DorskFR in #173

Full Changelog: v0.92.1...v0.93.0