Repository navigation
Releases
v0.97.0
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({...})invite.config.ts.$libbecomes#lib/….js,tsconfigextends$app/tsconfig, and demo links useresolve(). - Demo chunks: the per-section chunks now use rolldown
codeSplittinggroups. - Published
dist/: every import is relative with an explicit.jsextension, and none of$lib/#lib/$appremain. publint reports "All good!". The exports map and peer dependencies are unchanged. - Audit:
npm audit --include=devreports 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 sharedtests/helpers/popover.jsnow emulates the Popover API for tests. register.mjsadds ascrollIntoViewno-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.jsextensions.
v0.96.0
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 awarntone, 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):
renderMarkdowncould 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, andescapeHtmlescapes'. - 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-implementedrole=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=buttononly when it has no nested controls, and a consumeronkeydownruns 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 firesonopenonce and keeps focus through the confirm step (TSU-373). OptionButton and RadioGroup no longer read the description twice (TSU-377). - Progress with
max=0no longer produces NaN, Input's clear button respects disabled/readonly and fires aninputevent, 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: autoinstead 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>.classandstylego 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
- Textarea: a grouped
autoresizeTextarea 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 orResizeObserver looperrors while typing.
v0.95.2
- Timestamp: the details trigger has its resting dotted underline back, identical to 0.94 (
--border-strongat rest,currentColoron hover and focus). - SegmentedControl: new
shape="square"(separate tiles, no track) and per-optiontone/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 withbind:open(right-side drawer, or bottom sheet wheresheetapplies), focus returns to the opener on close.
v0.95.1
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
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-mediumnow 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-5and--sp-5are 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
v0.94.1
v0.94.0
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