Add more icons correct Content Type Designer Icons (#20252)

* add more icons correct Content Type Designer Icons

* add icon
This commit is contained in:
Niels Lyngsø
2025-09-24 12:55:00 +02:00
committed by GitHub
parent 6d7c722ec3
commit 6001d94f50
8 changed files with 27 additions and 6 deletions

View File

@@ -310,6 +310,7 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
${this.#renderVariantTags()}
${this.property.appearance?.labelOnTop == true
? html`<uui-tag look="default">
<uui-icon name="icon-stretch-horizontal"></uui-icon>
<span>${this.localize.term('contentTypeEditor_displaySettingsLabelOnTop')}</span>
</uui-tag>`
: nothing}
@@ -348,7 +349,7 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
) {
return html`
<uui-tag look="default">
<uui-icon name="icon-shared-value"></uui-icon> ${this.localize.term(
<uui-icon name="icon-trending-up-down"></uui-icon> ${this.localize.term(
'contentTypeEditor_cultureAndVariantInvariantLabel',
)}
</uui-tag>
@@ -357,13 +358,17 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement {
if (this.ownerVariesByCulture && !this.property.variesByCulture) {
return html`<uui-tag look="default">
<uui-icon name="icon-shuffle"></uui-icon> ${this.localize.term('contentTypeEditor_cultureInvariantLabel')}
<uui-icon name="icon-trending-up-down"></uui-icon> ${this.localize.term(
'contentTypeEditor_cultureInvariantLabel',
)}
</uui-tag>`;
}
if (this.ownerVariesBySegment && !this.property.variesBySegment) {
return html`<uui-tag look="default">
<uui-icon name="icon-shuffle"></uui-icon> ${this.localize.term('contentTypeEditor_segmentInvariantLabel')}
<uui-icon name="icon-trending-up-down"></uui-icon> ${this.localize.term(
'contentTypeEditor_segmentInvariantLabel',
)}
</uui-tag>`;
}

View File

@@ -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"

View File

@@ -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"),
},{

View File

@@ -1 +1 @@
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-heading5-icon lucide-heading-5" viewBox="0 0 24 24"><path d="M4 12h8"/><path d="M4 18V6"/><path d="M12 18V6"/><path d="M17 13v-3h4"/><path d="M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17"/></svg>`;
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-heading-5" viewBox="0 0 24 24"><path d="M4 12h8M4 18V6M12 18V6M17 13v-3h4M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17"/></svg>`;

View File

@@ -1 +1 @@
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-heading6-icon lucide-heading-6" viewBox="0 0 24 24"><path d="M4 12h8"/><path d="M4 18V6"/><path d="M12 18V6"/><circle cx="19" cy="16" r="2"/><path d="M20 10c-2 2-3 3.5-3 6"/></svg>`;
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-heading-6" viewBox="0 0 24 24"><path d="M4 12h8M4 18V6M12 18V6"/><circle cx="19" cy="16" r="2"/><path d="M20 10c-2 2-3 3.5-3 6"/></svg>`;

View File

@@ -1 +1 @@
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-heading-icon lucide-heading" viewBox="0 0 24 24"><path d="M6 12h12"/><path d="M6 20V4"/><path d="M18 20V4"/></svg>`;
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-heading" viewBox="0 0 24 24"><path d="M6 12h12M6 20V4M18 20V4"/></svg>`;

View File

@@ -0,0 +1 @@
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-stretch-horizontal" viewBox="0 0 24 24"><rect width="20" height="6" x="2" y="4" rx="2"/><rect width="20" height="6" x="2" y="14" rx="2"/></svg>`;

View File

@@ -0,0 +1 @@
export default `<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" class="lucide lucide-trending-up-down" viewBox="0 0 24 24"><path d="M14.828 14.828 21 21M21 16v5h-5M21 3l-9 9-4-4-6 6"/><path d="M21 8V3h-5"/></svg>`;