Changelog
Release notes for new features and bug fixes.
2.1.0
- Cardan Auth UI: add the login, forgot password, reset password, sign-in challenge and MFA setup pages in the AuthPage frame, with PasswordUpdateForm, MfaSettings, LogoutDialog and the MFA setup reminder
- Cardan Auth UI: buttons use the
blackandghostvariants; remove thesubmitslot of LoginForm and theactionsslot of MfaSetup - Cardan Auth UI: add a
cardprop to MfaChallenge, and only follow a?redirect=to a path within the app - Cardan Auth UI: the password forms call the Cardan API's
/api/v1paths and read the password policy themselves, sopasswordPolicyEndpointis gone; AuthError reads JSON:API errors and marks them with the API'sContent-Language - Remove the
--auth-*design tokens: Cardan Auth UI uses the font size scale and--color-grey-lightdirectly - Fix: Input without
v-modelno longer loses its value when one of its props changes - Use the
--color-<color>-texttokens for text on tinted surfaces in Chip, Callout and Select, and remove the--color-<color>-on-bgdesign tokens - Remove the
--color-on-secondarydesign token: the secondary Button uses--color-text - New font size scale from
xxs(10px) toxxxxl(64px):lgis 18px, the 11px and 40px sizes and thexxxsandxxxxxlnames are removed - Use the 12px
xssize for the small text in form fields, chips, small buttons and popovers that used the 11px size - Feature: add RequiredChip component, used by all form components and now also shown in the legend of a required RadioGroup
- Rename the
blackvariant of Button component to3d - Feature: add a basic
blackvariant to Button component, without shadow and with the default radius - Feature: add
solidvariant to Chip component, using the--color-<color>-texttokens as background - Feature: add
textTransformprop to Chip component - Remove the
capitalizeprop of Chip component, usetextTransform="capitalize"instead - Make
solidthe default variant of Callout component and rename thedefaultvariant tooutline - Add the
--color-accent-text-hoverdesign token for the hover text of thesidebarButton variant - Remove the
--shadow-*design tokens and theshadowprop of Card component - The offset shadow of the
3dButton variant is set in Button and no longer uses--shadow-offset - Use 14px text in Callout component by default
- Set
--line-height-headingto 1.25 in themain.csstemplate - Show the current page in the
sidebarButton variant with the accent color and an underline, and give its icon the text color - Use bold group labels and the
--color-accent-texthover color in MenuList component
2.0.0
Projects need to add new design tokens, see MIGRATION.md in the repository.
- Rename the library to Cardan UI (
@cardan/ui) - Add the Cardan brand identity to the
main.csstemplate: colors for light and dark mode, Hanken Grotesk, type scale and motion - Feature: add CardanLogo component with full, symbol and tile forms and sub-brand lockups
- Feature: add
solidvariant to Callout component - Add design tokens for button colors, text on tinted surfaces and tracks
- Load fonts with
@nuxt/fontsin the layer - Improve contrast of placeholders, MultiSelect options and tags, RangeInput labels and DatePicker in dark mode
- Announce disabled link buttons to assistive technology
- Replace the bouncing Toast animation with slide and fade
- Fix the transition of the Tabs component