[1.0.0-beta3] ui_icons_patterns: from machine_name to string

Created on 29 October 2024, 5 months ago

Problem/Motivation

In https://git.drupalcode.org/project/ui_icons/-/blob/1.0.x/modules/ui_icon... we reference machine_name:

[
    'type' => 'object',
    'properties' => [
      'icon' => ['type' => 'string'],
      'icon_pack' => ['$ref' => 'ui-patterns://machine_name'],
      'settings' => ['type' => 'object'],
    ],
    'required' => [
      'icon',
      'icon_pack',
    ],

However: πŸ“Œ [2.0.0-beta4] MachineName prop & typed data API Active

Proposed resolution

identifier prop type is for HTML ID. So icon_pack can be a string.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France pdureau Paris

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