Changelog
2.1.2-next.0
Patch Changes
- 8a98440: syncpack sortExports rule update.
2.1.1-next.0
Patch Changes
- fa871ef: Updated vue dependency from
vue@3.5.13
to latest patch versionvue@3.5.15
.
2.1.0-next.0
Minor Changes
4262e65: Added a documentation class to replace xer-documentation from @xerius/codey-style
2c681ac: Changed default (responsive) text sizes to be measured in rem instead of px. This should cause no change with default device settings. Now, when users select a different device/browser font-size (usually for accessibility reasons), our default responsive sizes should be relative to their selected font-size.
Because our spacing and sizing variables are also rem based, they will all also follow the default scaling preference selected by the user.
Patch Changes
- 2d3f110:
Lists
: fix styling of unordered lists that uses svgs to work better when the content is not just plain text
2.0.0-next.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.
- Update the
Minor Changes
- 19bc32f: Updated & applied new tsconfig settings for consistant type checking within the codey repo.
Patch Changes
- f740e78:
Eslint
: update to latest @xerius/eslint-config using helper function for flat config.
1.1.0-next.0
Minor Changes
- 1031b18:
animation
: Addspin-slow
animation for loading indicator.
1.0.0-next.14
Minor Changes
- e5fbeb2:
Typography
: Madetypo
classes font, size and thickness !important so it can correctly override external lib styles. - 852f364:
Charts
: Added color export to js object for use with chartjs. - 398c8a7:
Figma-token-import
: added the import of Semantic tokens from a categorie like 'Buttons' to add to the theme css files. - 852f364:
Chart
: Added chart colors to export categories.
Patch Changes
- 398c8a7:
Theme Colors
: The color value of some css theme color variables has been updated to match the design.
1.0.0-next.13
Major Changes
4f7fd49:
Typography
: Prefixed all typography classes withtypo-
.To Migrate:
ONLY APPLICABLE when using the
@xerius/codey-tailwind
before this version.diff-primary-title +typo-primary-title -secondary-title +typo-secondary-title -tertiary-title +typo-tertiary-title -quaternary-title +typo-quaternary-title -quinary-title +typo-quinary-title -primary-text +typo-primary-text -secondary-text +typo-secondary-text -tertiary-text +typo-tertiary-text -quaternary-text +typo-quaternary-text -intro-text +typo-intro-text -quote-text +typo-quote-text -button-text +typo-button-text -button-text-small +typo-button-text-small
Minor Changes
- 6c523a8:
Typography
: Added button-small-text class - 4573fa6:
Typography Lists
: Add styling and Tailwind Classes to match designs. - 7c0ccbd:
Typography
: Update setup to support my-family fonts. - 1875596:
Colors
: Added extra tinted colors for states (danger & success) - 7c0ccbd:
Colors
: Update latest colors. - 1875596:
Typography
: Added quenternary-text
Patch Changes
- d535c38:
Typography
: Add font antialiasing - 1875596:
Typography
: adjust text size of secondary & tertiary text to match designs.
1.0.0-next.12
Minor Changes
- 5ce7021: Add intellisense for custom title & text classes
1.0.0-next.11
Minor Changes
- be9d70d: Updated Figma colors to latest export.
- 3ddad73: Added
font-bold
util class
Patch Changes
- 3ddad73: Correct the codey-assets package version number used for fetching fonts.
1.0.0-next.10
Minor Changes
- 2f9f5db:
Spacing
: moveavailable
custom util tospacing
fromheight-extensions
for wider usage possibilities. - 2f9f5db:
Colors
: Update colors from figma import.
1.0.0-next.9
Minor Changes
- 3efcdc6:
Typography
: Added .typo-button-text class and set font scaling correctly. - db6d9de:
spacings
: Add0
spacing. - d6c9308:
Typegraphy
: Applybg-base
andtext-on-base
colors to type classes.
Patch Changes
- db6d9de:
Typography
: Fix theme typography class structure
1.0.0-next.8
Major Changes
1fb2c1b:
spacings
: removed responsive spacings.There will no longer be automatic changes to the spacings based on the screen size. Scaling will be done using font-size and the linked
rem
values. If specific spacings are needed for different screen sizes, they should be defined using the responsive breakpoints.1fb2c1b: REMOVE
colors
: Update color names and reduces depth of semantic tokens. More information on why this changed can be found hereThis does not need to be in the final changelog and only applies to user of pre-release 1.0.0-next.7!
To Migrate:
Go to the codey repo and copy the
packages\tailwind\codemod\check-color-rename.js
script. You need to installignore
in order to run it. after that run e.g.node .\check-color-rename.js . .\.gitignore
. This wil scan all files for the removed tokens and give you a list of files that need to be updated. You can uncomment the write option, note that it does not do the replacements correctly as it does not respect the tailwind syntax.Below is a list of all color changes and the new mapping:
Removed Value Updated Mapping cta-primary-container primary cta-primary-active primary cta-secondary-on-container primary cta-secondary-stroke primary cta-primary-pressed primary cta-primary-drag primary cta-tertiary-on-container primary-emphasis cta-primary-hover primary-emphasis cta-primary-focus primary-emphasis cta-secondary-on-container-interaction primary-emphasis cta-secondary-stroke-interaction primary-emphasis forms-stroke-hover primary-emphasis forms-stroke-active primary-emphasis forms-stroke-focus primary-emphasis cta-secondary-container base cta-secondary-hover primary-tinted-emphasis cta-secondary-focus primary-tinted-emphasis cta-secondary-pressed primary-tinted-interaction cta-secondary-drag primary-tinted-interaction stroke-input on-base-de-emphasis forms-text-input on-base-de-emphasis cta-inverse-primary-on-container on-base-de-emphasis forms-container base forms-stroke-default on-base-muted forms-text-placeholder on-base-de-emphasis forms-stroke-error danger forms-text-error danger forms-text-helper on-base-de-emphasis forms-hover base-interaction forms-focus base-interaction cta-interactive-container secondary cta-interactive-hover secondary-emphasis cta-inverse-primary-container base cta-inverse-secondary-stroke on-base-transparent cta-inverse-secondary-stroke-interaction on-base-transparent cta-inverse-primary-active base-interaction cta-inverse-secondary-on-container on-base-transparent cta-inverse-secondary-on-container-interaction on-base-transparent cta-inverse-tertiary-on-container on-base-transparent cta-inverse-interactive-container secondary cta-inverse-interactive-hover secondary-emphasis cta-inverse-secondary-container base-transparent cta-inverse-secondary-hover base-transparent-emphasis cta-inverse-secondary-focus base-transparent-emphasis cta-inverse-secondary-pressed base-transparent-interaction cta-inverse-secondary-drag base-transparent-interaction cta-inverse-primary-hover base-emphasis cta-inverse-primary-focus base-emphasis cta-inverse-primary-pressed base-interaction cta-inverse-primary-drag base-interaction cta-inverse-tertiary-hover base-transparent cta-inverse-tertiary-focus base-transparent-emphasis cta-inverse-tertiary-pressed base-transparent-interaction cta-inverse-tertiary-drag base-transparent-interaction cta-tertiary-hover primary-tinted-emphasis cta-tertiary-focus primary-tinted-emphasis cta-tertiary-pressed primary-tinted-interaction cta-tertiary-drag primary-tinted-interaction text-h-1 text-accent table-cell-surface-light table-cell-surface-1 table-cell-surface-medium table-cell-surface-2 table-header-surface-light table-header-surface-1 table-header-surface-medium table-header-surface-2 icon-interactive icon-secondary stroke-light stroke-muted icon-light icon-inverse
1.0.0-next.7
Patch Changes
- 3a64757:
REMOVE THIS LINE
: Test for release raport
1.0.0-next.6
Patch Changes
- 3d73a51: Add missing peerDependency to
autoprefixer
.
1.0.0-next.5
Patch Changes
- 2e3d460: Adopt new assets url.
1.0.0-next.4
Major Changes
642755b:
Components
: Thexer-
prefix has been removed from all components. This means that all Tailwind utility classes are now without thexer-
prefix.Documentation
: The documentation has been updated to reflect the changes in the components and it's own components have been updated to also have the removal of the Tailwindxer-
prefix.Playground
: The playground has been updated to reflect the changes in the components and it's own components have been updated to also have the removal of the Tailwindxer-
prefix.Tailwind
: The Tailwind package has been updated to have the removal of the Tailwindxer-
prefix where Tailwind Utility classes were used and from the preset in theconfig
file.To migrate:
- Remove
xer-
prefix from the tailwind config files. (See the prefix and safelist options) - Remove the
xer-
prefix from all Tailwind utility classes.
From:
html<div class="xer-flex xer-flex-wrap xer-justify-content-center xer-gap-2">...</div>
To:
html<div class="flex flex-wrap justify-content-center gap-2">...</div>
- Remove
1.0.0-next.3
Patch Changes
- 110d51c: Fix incorrect package exports paths
1.0.0-next.2
Major Changes
- 85ad291: Update package export structure.
1.0.0-next.1
Major Changes
62fc987: Update Typography and related class configuration.
To Migrate:
The below util classes are no longer available as these properties are now automatically applied based on the title or text class used.
- Letter spacing is removed,
tracking-1
&tracking-2
are no longer available. - Line height is removed,
leading-0, leading-1, leading-2, leading-3
are no longer available. - Font Weight is removed,
font-light, font-regular, font-medium, font-bold
are no longer available. - Font Size is removed,
text-xxs, text-xs, text-s, text-m, text-l, text-xl, text-xxl, text-xxxl
are no longer available.
The available text classes are:
.typo-primary-title
.typo-secondary-title
.typo-tertiary-title
.typo-quaternary-title
.typo-quinary-title
.typo-primary-text
.typo-secondary-text
.typo-intro-text
.typo-quote-text
- Letter spacing is removed,
1.0.0-next.0
Major Changes
bab27e0: Color variable changes to match new xerius design and support theming.
To Migrate:
- Migration to the latest codey-components to get the correctly styled new components.
- In case of own components, you can follow the mapping below to migrate:
Old Color Variable New Color Variable transparent primary-inverse-transparent info info info-15 info-transparent-emphasis-10 warning warning success success danger danger danger--hover danger-emphasis danger--active danger error danger white base black on-base-emphasis primary brand secondary-1 secondary secondary-2 quaternary secondary-3 tertiary cta primary cta--hover primary-emphasis cta--active primary grey surface-inverse-4 grey-1 background grey-2 surface-neutral-1 grey-3 surface-neutral-2 grey-4 surface-neutral-3 grey-5 surface-neutral-4 grey-6 surface-inverse-3 grey-7 surface-inverse-2 grey-dark on-base backdrop color-backdrop
All new color variable names are available through Tailwind.
bab27e0: Updated border radius to new values
To Migrate:
Old Value New Value lg md xl lg 2xl lg 3xl lg bab27e0: Removed redundant shadows from config
To Migrate:
Old Value New Value shadow-1 shadow shadow-2 shadow shadow-3 shadow shadow-4 shadow shadow-5 shadow shadow-6 shadow shadow-7 shadow shadow-8 shadow At this moment there is only one shadow value.
bab27e0: Revert border config to tailwind defaults.
To Migrate:
Old Value New Value border-3 border-2 border-6 border-4 Other values remain the same.
bab27e0: Screen breakpoint names & values change to match the new design.
To Migrate:
Old Value New Value mobile xs tablet sm laptop md desktop lg large-desktop xl bab27e0:
min-height
: Reverted to tailwind defaults for the new design.To Migrate:
- Update the following values to the new match:
Old Value New Value Breaks? min-h-0 min-h-0 min-h-1 min-h-0.5 💔 min-h-2 min-h-1 💔 min-h-3 min-h-2 💔 min-h-4 min-h-3 💔 min-h-5 min-h-4 💔 min-h-6 min-h-5 💔 min-h-7 min-h-6 💔 min-h-8 min-h-8 min-h-9 min-h-9 min-h-10 min-h-10 min-h-11 min-h-11 min-h-12 min-h-14 * 💔 min-h-13 min-h-16 * 💔 min-h-14 min-h-20 💔 min-h-15 min-h-24 * 💔 min-h-16 min-h-32 * 💔 min-h-17 min-h-40 💔 min-h-1/4 min-h-[25%] 💔 min-h-1/2 min-h-[50%] 💔 min-h-3/4 min-h-[75%] 💔 Note: * Values are not an exact match and differ 0.25rem from the original values.
342d45d: First Release: Move all Tailwind & related theming config from codey-style to this package