Install
Works with Drupal: ^9 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
- Making the glossary twig array overridable at the theme level.
- Moving a bunch of section settings from custom vars to the glossary array.
- Built-in auto discovery for new sections. Sections can be loaded from another theme or module as well (for any multi-site cases).
- Sections are now resolved in the order of; current active theme, a custom path (the machine name of the theme or module your new section lives in.), the ixm_components_ui_kit module, and finally the boilerplate section template.
- Fallback boilerplate template built for sections that only a glossary entry and a missing template. Contains "how-to" for customizing sections for your sites UI Kit.
- Template and markup cleanup.
New after port:
- Small column size update on the accessibility checker items so AAA doesnt break onto 2 lines
- Add “friendly_name” to the swatch macro in the color section template
- Make wrapper attributes for the typography macros, allow passing text & background colours per set
- Remove disabled links in the typography section
- Use text-bg-[color] classes for accessibility boxes
- Use text-bg-[color] classes for the buttons & links inverted sections
- Move macros into their own file per section.
- Use import to get macros into the current section.
- Allow submodules/themes to override the macro path so we can include components within them
- Add icon name & copy name functionality to the iconography section
- Round typography values font-size and line-height for a cleaner UI
- Update carousel slider id, bug with forward/backward actions
- Translate the carousel section
- Introduce “headerAs” element for the accordions sections macro
- Register macros in external files
- Change how macros are called, register them rather than calling _self
- Follow Drupal-style doc-block comments in twig templates
- Add more boilerplate comments with available variables.
- Create dynamic developer modal tabs via twig array
- Give users ability to set a custom docs path in the tabs twig array
- Allow overriding developer modal tabs in a custom section
- Improve the fileGetContents twig function to accept an array of paths as fallbacks