# Changelog ## [3.7.0] - 2026-03-12 ### Added - New `sui-footer-legal-haufe-logo` class to display the Haufe Group logo in the footer legal section. - New `border` and `border-contrasty` values to color themes. - Color palette in JS object format for easier integration in JS projects like React/MUI. ### Changed - Buttons now have WCAG-compliant contrast and follow the updated accessible corporate color palette. - Swiper now meets WCAG Level AA with improved keyboard navigation and ARIA attributes. - Header menu can now be skipped using the "Zum Inhalt springen" link for better accessibility. - Sheets are now integrated into smartsteuer UI and the `@smartsteuer/sui-sheets` package is deprecated. - Update dependencies: Storybook 10, etc. ### Fixed - Download link to font file in `Typography` section of documentation. - Several issues with nested themes not using correct colors. ### Security - Critical vulnerability in `swiper` dependency. **Updating to v3.7.0 is strongly recommended.** ## [3.6.0] - 2025-10-30 ### Changed - New WCAG-compliant header menu. - Typography: Enforce uppercase rendering on `sui-display-*` styles to meet corporate design rules for the Quinoa font. - `bright` theme link color changed from electric-600 to electric-700 for better contrast. - `sui-footer-legal-menu` is now centered and `sui-footer-legal-info` placed underneath the menu on all screen sizes. - Update dependencies: Storybook 10, Swiper.js 12, etc. ### Removed - Fontawesome Light icon style (`fa-light`). Existing `fa-light` icons will fall back to `fa-solid`. ### Fixed - Links inside `sui-footer` were not underlined on hover. ## [3.5.1] - 2025-09-11 ### Changed - Update dependencies: Storybook 9.1.5, Vite, etc. - Force accordion content to be left-aligned ### Fixed - Accordion headers keeping highlight color after closing ## [3.5.0] - 2025-09-04 ### Added - Documentation for icons inside `sui-buttons` ### Changed - Accordion component is now fully accessible by keyboard - Accordion headers now support any heading level (h2–h6) ### Fixed - Wrong icon colors inside `sui-button` when used with color themes - `sui-pattern` background images disappeared in v3.4.1 - File size of `smartsteuer-ui.css` increased to ~10 MB in v3.4.1 ### Removed - Fontawesome 5 fallback. This should not break anything unless 'Fontawesome 5' is explicitly set as font-family. ## [3.4.1] - 2025-08-18 [YANKED] _Yanked due to serious bugs – do not use in production!_ ### Changed - Update dependencies, including Storybook 9 ### Fixed - `sui-voucher` PDF download not working from outside smartsteuer UI - wrong heading text colors when using color themes ## [3.4.0] - 2025-07-17 ### Added - Implement vite plugin to compile JS module with scss color variables. ## [3.3.0] - 2025-07-10 ### Added - **Breaking:** New color palette and accessible color themes (bright, night & electric). - `sui-voucher` module for generating smartsteuer PDF vouchers. - Storybook start page with usage instructions and module overview. - smartsteuer UI can now be loaded via npm from the Haufe Registry. ### Changed - New `sui-pattern` CSS classes to add background patterns - Improved some colors (e.g. button colors) for WCAG-compliant contrast. - Links are now underlined by default for better accessibility (except in header and footer) ### Removed - **Breaking:** Old `sui-bg-*` classes, replaced by new color themes. - Collapsing padding in consecutive `sui-sections` with the same background color. ## [3.2.0] - 2025-06-16 ### Changed - **Breaking:** New Header component with new markup and improved accessibility. ## [3.1.2] - 2025-05-12 ### Changed - Sheets: `sui-sheet-wrapper` is now required for all sheets and to use `sui-sheet-padding-`. ### Fixed - Some issues regarding how sheets are rendered ## [3.1.1] - 2025-04-23 ### Changed - Reduced file size of TT Norms font (~500 kB to ~150 kB) by removing unused glyphs. ## [3.1.0] - 2025-04-22 ### Changed - **Breaking:** Sheets implementation is now fully functional. Requires `.sui-sheet-wrapper` parent element. - Sheets now overlap by default. Added `.sui-sheet-no-overlap` and removed `.sui-sheet-overlap`. ### Removed - `data-sui-sheet-base` attribute is no longer supported.