From 6001d94f50f720d3ee69bdf2d2145273a0c17fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 24 Sep 2025 12:55:00 +0200 Subject: [PATCH] Add more icons correct Content Type Designer Icons (#20252) * add more icons correct Content Type Designer Icons * add icon --- .../content-type-design-editor-property.element.ts | 11 ++++++++--- .../packages/core/icon-registry/icon-dictionary.json | 8 ++++++++ .../src/packages/core/icon-registry/icons.ts | 6 ++++++ .../core/icon-registry/icons/icon-heading-5.ts | 2 +- .../core/icon-registry/icons/icon-heading-6.ts | 2 +- .../packages/core/icon-registry/icons/icon-heading.ts | 2 +- .../icon-registry/icons/icon-stretch-horizontal.ts | 1 + .../core/icon-registry/icons/icon-trending-up-down.ts | 1 + 8 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-stretch-horizontal.ts create mode 100644 src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-trending-up-down.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts b/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts index 75b3f5b8c8..408930a756 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts @@ -310,6 +310,7 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { ${this.#renderVariantTags()} ${this.property.appearance?.labelOnTop == true ? html` + ${this.localize.term('contentTypeEditor_displaySettingsLabelOnTop')} ` : nothing} @@ -348,7 +349,7 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { ) { return html` - ${this.localize.term( + ${this.localize.term( 'contentTypeEditor_cultureAndVariantInvariantLabel', )} @@ -357,13 +358,17 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { if (this.ownerVariesByCulture && !this.property.variesByCulture) { return html` - ${this.localize.term('contentTypeEditor_cultureInvariantLabel')} + ${this.localize.term( + 'contentTypeEditor_cultureInvariantLabel', + )} `; } if (this.ownerVariesBySegment && !this.property.variesBySegment) { return html` - ${this.localize.term('contentTypeEditor_segmentInvariantLabel')} + ${this.localize.term( + 'contentTypeEditor_segmentInvariantLabel', + )} `; } diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icon-dictionary.json b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icon-dictionary.json index 32568953f5..a21e080e58 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icon-dictionary.json +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icon-dictionary.json @@ -2226,6 +2226,10 @@ "name": "icon-tree", "file": "tree-deciduous.svg" }, + { + "name": "icon-trending-up-down", + "file": "trending-up-down.svg" + }, { "name": "icon-trophy", "file": "trophy.svg" @@ -2427,6 +2431,10 @@ "name": "icon-star", "file": "star.svg" }, + { + "name": "icon-stretch-horizontal", + "file": "stretch-horizontal.svg" + }, { "name": "icon-database", "file": "database.svg" diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons.ts b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons.ts index 735f7aca17..5e85f87f8f 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons.ts @@ -1810,6 +1810,9 @@ path: () => import("./icons/icon-trash.js"), name: "icon-tree", path: () => import("./icons/icon-tree.js"), },{ +name: "icon-trending-up-down", +path: () => import("./icons/icon-trending-up-down.js"), +},{ name: "icon-trophy", path: () => import("./icons/icon-trophy.js"), },{ @@ -1977,6 +1980,9 @@ path: () => import("./icons/icon-zoom-out.js"), name: "icon-star", path: () => import("./icons/icon-star.js"), },{ +name: "icon-stretch-horizontal", +path: () => import("./icons/icon-stretch-horizontal.js"), +},{ name: "icon-database", path: () => import("./icons/icon-database.js"), },{ diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-5.ts b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-5.ts index ee81cce068..af737d0595 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-5.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-5.ts @@ -1 +1 @@ -export default ``; \ No newline at end of file +export default ``; \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-6.ts b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-6.ts index 1ef9984dcf..f23122ecdc 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-6.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading-6.ts @@ -1 +1 @@ -export default ``; \ No newline at end of file +export default ``; \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading.ts b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading.ts index ee931a06a4..ab812d887c 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-heading.ts @@ -1 +1 @@ -export default ``; \ No newline at end of file +export default ``; \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-stretch-horizontal.ts b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-stretch-horizontal.ts new file mode 100644 index 0000000000..a4409ea351 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-stretch-horizontal.ts @@ -0,0 +1 @@ +export default ``; \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-trending-up-down.ts b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-trending-up-down.ts new file mode 100644 index 0000000000..9d08233c6e --- /dev/null +++ b/src/Umbraco.Web.UI.Client/src/packages/core/icon-registry/icons/icon-trending-up-down.ts @@ -0,0 +1 @@ +export default ``; \ No newline at end of file