Changelog
2.0.1
Patch Changes
- 8a98440: syncpack sortExports rule update.
2.0.0
Major Changes
dca02aa:
Node
: Upgraded fromnode@18.18
tonode@22.14
.To Migrate:
- Update the
node
version in thevolta
configuration in thepackage.json
file. - Update the engine version in the
package.json
file. - Update the node version in any ci/cd pipes that have a fixed version.
- Remove your
node_modules
and run anpm install
. - Ensure all dependencies are compatible with the new node version.
- If your package contains
@tsconfig/node18
dependency, update it to@tsconfig/node22
. Search for string occurence of@tsconfig/node18
in tsconfig files and replace there as well.
- Update the
c68d12f:
Images
: TheLogo
andLogo Name
in theXerius
folder now have the Xerius orange color by default. An inverse version with a white image has been added aslogo-inverse
andlogo-name-inverse
.Migration: If you are using the
Logo
orLogo Name
in your project, and need the white version, you can use the newlogo-inverse
andlogo-name-inverse
images.2f19259: Added theming support to images in codey-assets:
- All images have been moved to one of three theme folders, most important are
xerius
andmyfamily
. There's also thecodey
theme which will currently only contains the codey logo. getCodeyImageUrl()
has received a breaking change in the function signature. Now it expects atheme: string
argument first, then aimage: string
argument second. We have worked on very strict typing to support smooth usage of this function. You should receive type-hinting in your IDE for the available themes and available images per theme.
To Migrate:
Update your usage of the
getCodeyImageUrl()
function. Look for images by their previously known name in thexerius
ormyfamily
theme.Migration example:
typescript// before: getCodeyImageUrl("wave", "blobs"); // becomes: getCodeyImageUrl("xerius", "wave");
- All images have been moved to one of three theme folders, most important are
Minor Changes
- 19bc32f: Updated & applied new tsconfig settings for consistant type checking within the codey repo.
- 1c0d8f9:
xerius
: Added brand, secondary & tertiary blobs to theme folder. - 6af5e4f:
Pictogram
: added the thumbs-up pictorgam under the Xerius folder.
Patch Changes
- f740e78:
Eslint
: update to latest @xerius/eslint-config using helper function for flat config.
1.0.0
Major Changes
0b04aa7: Created
codey-assets
to hold and manage all assets instead of codey-style.To Migrate:
- Replace all
@xerius/codey-style
imports with@xerius/codey-assets
- Add
@xerius/codey-assets
to yourpackage.json
dependencies when using it in your project- Import is required when using the
getCodeyImageUrl
function or importing assets directly.
- Import is required when using the
- Replace all
Minor Changes
Images
: add emily-blij-circle for myfamilyAssets
: Added existing pictograms to images/xerius to prepare for theme support within assets.- 8bb5eff: Added
myfamily
logo to images & addedmyfamily
asCodeyImageFolders
option for usage withgetCodeyImageUrl
. - 7c0ccbd: Add My Family fonts.