[4.0.0-alpha8] Update UI Icons implementation to support beta3 changes

Created on 16 December 2024, 3 days ago

Problem/Motivation

During the merge into Core, icon properties were harmonized and sometimes renamed:

  • icon_pack became pack_id
  • icon became icon_id
  • settings remained settings

Proposed resolution

Before:
{{ icon(icon.icon_pack, icon.icon, icon.settings) }}

'icon':
  icon_pack: 'pack_id'
  icon: 'question'

After:
{{ icon(icon.pack_id, icon.icon_id, icon.settings) }}

'icon':
  pack_id: 'pack_id'
  icon_id: 'question'

Remaining tasks

Update components/stat/stat.icons_or_image.story.yml to meet all changes.

📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇫🇷France G4MBINI Bègles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024