From aec5269b149776681fc04301a0a2017413e63131 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 15 May 2024 15:28:51 +0200 Subject: [PATCH 1/4] Update tree-item-context-base.ts --- .../tree/tree-item/tree-item-base/tree-item-context-base.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item/tree-item-base/tree-item-context-base.ts b/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item/tree-item-base/tree-item-context-base.ts index ed7d519de4..d752d808d7 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item/tree-item-base/tree-item-context-base.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/tree/tree-item/tree-item-base/tree-item-context-base.ts @@ -339,9 +339,8 @@ export abstract class UmbTreeItemContextBase< It does not look like there is a way to have a "dynamic" parent context that will stop when a specific parent is reached (a tree item unique that matches the parentUnique of this item) */ const treeItem = this.getTreeItem(); - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - const parentUnique = treeItem?.parentUnique; + const parentUnique = treeItem?.parent.unique; + const customEvent = new CustomEvent('temp-reload-tree-item-parent', { detail: { unique: parentUnique }, bubbles: true, From 92241a73c7f3496397591b8eccc97338fefa18e6 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 15 May 2024 15:48:18 +0200 Subject: [PATCH 2/4] Update link-picker-modal.stories.ts --- .../link-picker-modal/link-picker-modal.stories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/multi-url-picker/link-picker-modal/link-picker-modal.stories.ts b/src/Umbraco.Web.UI.Client/src/packages/multi-url-picker/link-picker-modal/link-picker-modal.stories.ts index 0a79852e45..6f6f1087e4 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/multi-url-picker/link-picker-modal/link-picker-modal.stories.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/multi-url-picker/link-picker-modal/link-picker-modal.stories.ts @@ -1,4 +1,4 @@ -import '../../../core/components/body-layout/body-layout.element.js'; +import '../../core/components/body-layout/body-layout.element.js'; import './link-picker-modal.element.js'; import type { Meta, Story } from '@storybook/web-components'; From 2c694cca59871787157f202c0fd423506f88f149 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Wed, 15 May 2024 15:55:18 +0100 Subject: [PATCH 3/4] Chore: Optimized SVGs Thanks @bjarnef for the svgomg.net tip! --- .../src/assets/favicon.svg | 18 +- .../src/assets/installer-illustration.svg | 723 +----------------- .../src/assets/umbraco_logo_blue.svg | 52 +- .../src/assets/umbraco_logo_white.svg | 52 +- 4 files changed, 4 insertions(+), 841 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/assets/favicon.svg b/src/Umbraco.Web.UI.Client/src/assets/favicon.svg index 7f139d6a6b..3e84ef7cb3 100644 --- a/src/Umbraco.Web.UI.Client/src/assets/favicon.svg +++ b/src/Umbraco.Web.UI.Client/src/assets/favicon.svg @@ -1,17 +1 @@ - - - - - - + diff --git a/src/Umbraco.Web.UI.Client/src/assets/installer-illustration.svg b/src/Umbraco.Web.UI.Client/src/assets/installer-illustration.svg index b7d84eab18..67942fe98e 100644 --- a/src/Umbraco.Web.UI.Client/src/assets/installer-illustration.svg +++ b/src/Umbraco.Web.UI.Client/src/assets/installer-illustration.svg @@ -1,722 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_blue.svg b/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_blue.svg index 578bf592f6..171f598b1f 100644 --- a/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_blue.svg +++ b/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_blue.svg @@ -1,51 +1 @@ - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_white.svg b/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_white.svg index 01f7260cd3..46f77cbfc3 100644 --- a/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_white.svg +++ b/src/Umbraco.Web.UI.Client/src/assets/umbraco_logo_white.svg @@ -1,51 +1 @@ - - - - - - - - - - - - - - - - - - - + \ No newline at end of file From af1188e3eac2d604e8bd4316792d3eb47c644225 Mon Sep 17 00:00:00 2001 From: leekelleher Date: Wed, 15 May 2024 16:03:48 +0100 Subject: [PATCH 4/4] Bugfix: Sets width of app version modal Fixes https://github.com/umbraco/Umbraco-CMS/issues/16089 --- .../apps/backoffice/components/backoffice-header-logo.element.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web.UI.Client/src/apps/backoffice/components/backoffice-header-logo.element.ts b/src/Umbraco.Web.UI.Client/src/apps/backoffice/components/backoffice-header-logo.element.ts index faf844ff9f..6df071c5e2 100644 --- a/src/Umbraco.Web.UI.Client/src/apps/backoffice/components/backoffice-header-logo.element.ts +++ b/src/Umbraco.Web.UI.Client/src/apps/backoffice/components/backoffice-header-logo.element.ts @@ -61,6 +61,7 @@ export class UmbBackofficeHeaderLogoElement extends UmbLitElement { flex-direction: column; align-items: center; gap: var(--uui-size-space-3); + min-width: var(--uui-size-100); } `, ];