Install

Works with Drupal: ^10.3 || ^11.0

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 126.19 KB
MD5: 698754ad9a0ea290a8f68174a885ad26
SHA-1: 6ded89611789804b07d8279f665ee1504c1e042b
SHA-256: 41a12d776b6eb7cdae2dffd4af6c057b485fdb7a9ed83e4bd9af8b674df9a686
Download zip 277.31 KB
MD5: 94c493943294f9efd7d9717a0c06986d
SHA-1: 0391afd6c57c038869f488c2df973bac5d104733
SHA-256: bad8e2325704980211ff8b5da65d9072a453a220dbe1e835e55b1cb24eded0b1

Release notes

New release with separated API, lot of fixes and performance improvments.

Upgrade from beta2 to beta3

Since beta3, Icon API has been moved to Drupal Core 11.1.

If you are still in Drupal 10.3 or Drupal 11.0, you can try those steps to upgrade from beta2 to beta3:

  1. While in beta2, create an empty ui_icons_backport module outside ui_icons, and activate it
  2. Update ui_icons to beta3
  3. Delete the empty ui_icons_backport and flush the cache
  4. (if you meet an AssertionError, try TRUNCATE cache_container)

Contributors (7)

mogtofu33, g4mbini, grimreaper, just_like_good_vibes, pdureau, smustgrave, tomsaw

Changelog

Issues: 19 issues resolved.

Changes since 1.0.0-beta2:

Breaking changes

Move the API to a specific module ui_icons_backport to match the core merged API, see #3471494: Add an icon management API.
This mean use of namespaces is breaking from beta2, and this new module must be enabled. Best is to fully remove and reinstall if possible.

Some key naming changes for consistency everywhere, this impact:

  • Config storage for icon change of key: icon => icon_id
  • When using Twig function with icon object, the keys change from {{ icon(icon.icon_pack, icon.icon, icon.settings) }} to </code>{{ icon(icon.icon_pack, icon.icon_id, icon.settings) }}
  • UI Patterns component change of key: icon => icon_id

Bug

  • #3487207 by mogtofu33: Extractor font and iconify update, library update, isolate search
  • #3485067 by steveoriol, g4mbini, mogtofu33, grimreaper: Icons on menu do not works
  • #3489123 by grimreaper, mogtofu33: Icon not found when rendered from renderable array
  • #3489673 by grimreaper: regression with ui_icons_menu

Feature

  • #3482495 by grimreaper, mogtofu33: Linkit with attributes with icon
  • #3487275 by mogtofu33: Form element autocomplete search
  • #3484282 by grimreaper, mogtofu33: Media source plugin
  • #3488789 by pdureau, just_like_good_vibes, mogtofu33: Use #allowed_icon_pack with UI Patterns 2

Task

  • #3481526 by pdureau: UI Patterns integration: fix warning
  • #3484392 by smustgrave, pdureau: ui_icons_patterns, from machine_name to string
  • #3484351 by mogtofu33: Backport Icon API
  • #3488557 by mogtofu33: Gitlab CI issue on some tests and phpmd
  • #3488558 by just_like_good_vibes, grimreaper, mogtofu33: Add a composer.json file
  • #3491590 by mogtofu33: CI job test coverage
  • #3491700 by just_like_good_vibes, mogtofu33: Add new UI patterns source for fields

Support

  • #3480422 by tomsaw: Improve css in library view by using grid auto-fill

Misc

  • chore: add a common search service with cache
  • chore: add cache to library, minor refactor
  • chore: add an async preview for icon picker
  • docs: update, add new modules, remove API documentation
Created by: mogtofu33
Created on: 5 Dec 2024 at 15:24 UTC
Last updated: 11 Dec 2024 at 14:47 UTC
Bug fixes
New features
Insecure
Insecure
Unsupported

Other releases