mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-2064] support custom icons for extensions (#864)
* icon component, custom svg * split components, fix modules * simplify code * universal icon component * support custom icon registration * update docs * test fixes
This commit is contained in:
@@ -563,6 +563,24 @@
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"iconRef": {
|
||||
"type": "object",
|
||||
"required": ["id", "value"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "Unique identifier. Must be in the format '[namespace]:[name]'.",
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"description": "Icon path relative to the application root.",
|
||||
"type": "string"
|
||||
},
|
||||
"disabled": {
|
||||
"description": "Toggles the disabled state",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -628,6 +646,12 @@
|
||||
"description": "Application-specific features and extensions",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"icons": {
|
||||
"description": "Custom icons",
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/definitions/iconRef" },
|
||||
"minItems": 1
|
||||
},
|
||||
"header": {
|
||||
"description": "Application header extensions",
|
||||
"type": "array",
|
||||
|
Reference in New Issue
Block a user