~/designkit/CHANGELOG.md
Changelog
Wat er in elke versie van het pakket is veranderd. Een token of klasse hernoemen of weghalen is een major release; een nieuwe is een minor release.
// De changelog wordt alleen in het Engels geschreven.
1.1.0
Added
svelte: atoolssnippet for an app's own controls in the header, such as a sign-in button. It is rendered before the language switch.react: the same throughchildren.svelte: switching language in a SvelteKit app keeps the focus on the language switch.
Fixed
header: back at the top of the page, above the first section, no link is marked as current any more. The last one used to stay marked.header: the label of the theme button follows the theme when it is changed from outside the header, such as from a command menu or another tab.tokens: the type declarations pointed at.tsfiles that are not in the package. They now point at the.jsfiles next to them.
1.0.0
The design kit as a package. Until now it lived in docs/design-kit/ of the portfolio and was copied into every app by hand.
Added
kit.cssandheader.css: the same CSS as the copiedjo-kit.cssandjo-header.css, so adopting the package changes nothing on screen.header:initJoHeader,readTheme,setTheme, andheaderLabelswith the header's wording in English and Dutch.tokensandtokens.json: every token value for both themes, for canvas, generated images and<meta name="theme-color">.tailwind.css: the tokens as Tailwind 4 theme variables.theme-script: the script that sets the theme before the first paint, with its Content-Security-Policy hash.svelte: the header as a Svelte 5 component.react: the header as a React component.header.html: the header as plain markup.
Fixed
- The Ctrl K button is no longer visible when it has the
hiddenattribute. Itsdisplay: inline-flexused to win.