Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,16 @@ export class UmbContentTypeWorkspaceEditorHeaderElement extends UmbLitElement {
display: flex;
flex: 1 1 auto;
flex-direction: column;
gap: var(--uui-size-space-1);
}

#name {
width: 100%;
z-index: 1;
}

#description {
width: 100%;
margin-top: 1px;
--uui-input-height: var(--uui-size-8);
--uui-input-border-color: transparent;
}
Expand All @@ -147,6 +148,8 @@ export class UmbContentTypeWorkspaceEditorHeaderElement extends UmbLitElement {
font-size: var(--uui-size-8);
height: 60px;
width: 60px;
--uui-button-border-color: transparent;
--uui-button-border-color-hover: var(--uui-color-border);
}
`,
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,20 @@ export class UmbBodyLayoutElement extends LitElement {
this._headerSlotHasChildren = this.#hasNodes(e);
this.#setSlotVisibility(e.target as HTMLElement, this._headerSlotHasChildren);
}}></slot>
<slot
id="navigation-slot"
name="navigation"
@slotchange=${(e: Event) => {
this._navigationSlotHasChildren = this.#hasNodes(e);
this.#setSlotVisibility(e.target as HTMLElement, this._navigationSlotHasChildren);
}}></slot>
<slot
id="action-menu-slot"
name="action-menu"
@slotchange=${(e: Event) => {
this._actionsMenuSlotHasChildren = this.#hasNodes(e);
this.#setSlotVisibility(e.target as HTMLElement, this._actionsMenuSlotHasChildren);
}}></slot>
<slot
id="navigation-slot"
name="navigation"
@slotchange=${(e: Event) => {
this._navigationSlotHasChildren = this.#hasNodes(e);
this.#setSlotVisibility(e.target as HTMLElement, this._navigationSlotHasChildren);
}}></slot>
</div>

<!-- This div should be changed for the uui-scroll-container when it gets updated -->
Expand Down Expand Up @@ -204,7 +204,6 @@ export class UmbBodyLayoutElement extends LitElement {
box-sizing: border-box;
min-width: 0;
}

#navigation-slot {
margin-left: auto;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ export class UmbWorkspaceEditorElement extends UmbLitElement {
<umb-body-layout main-no-padding .headline=${this.headline} ?loading=${this.loading}>
${this.#renderBackButton()}
<slot name="header" slot="header"></slot>
${this.#renderViews()}
<slot name="action-menu" slot="action-menu"></slot>
${this.#renderRoutes()}
${this.#renderViews()} ${this.#renderRoutes()}
Comment thread
madsrasmussen marked this conversation as resolved.
<slot></slot>
${when(
!this.enforceNoFooter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ export class UmbWorkspaceEntityActionMenuElement extends UmbLitElement {
? html`
<uui-button
id="action-button"
data-mark="workspace:action-menu-button"
popovertarget="workspace-entity-action-menu-popover"
label=${this.localize.term('general_actions')}>
${this.localize.term('general_actions')}
<uui-symbol-expand .open=${this._popoverOpen}></uui-symbol-expand>
<uui-symbol-more></uui-symbol-more>
</uui-button>
<uui-popover-container
id="workspace-entity-action-menu-popover"
Expand All @@ -84,8 +84,8 @@ export class UmbWorkspaceEntityActionMenuElement extends UmbLitElement {
css`
:host {
height: 100%;
margin-left: calc(var(--uui-size-layout-1) * -1);
}

:host > uui-button {
height: 100%;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ export class UmbWebhookWorkspaceEditorElement extends UmbLitElement {

#name {
width: 100%;
z-index: 1;
}

#description {
width: 100%;
margin-top: -1px;
--uui-input-height: var(--uui-size-8);
--uui-input-border-color: transparent;
}
Expand Down
8 changes: 4 additions & 4 deletions tests/Umbraco.Tests.AcceptanceTest/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/Umbraco.Tests.AcceptanceTest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@umbraco/json-models-builders": "^2.0.33",
"@umbraco/playwright-testhelpers": "^16.0.7",
"@umbraco/playwright-testhelpers": "^16.0.9",
"camelize": "^1.0.0",
"dotenv": "^16.3.1",
"node-fetch": "^2.6.7"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test('can delete a member group', {tag: '@smoke'}, async ({umbracoApi, umbracoUi

// Act
await umbracoUi.memberGroup.clickMemberGroupLinkByName(memberGroupName);
await umbracoUi.memberGroup.clickActionsButton();
await umbracoUi.memberGroup.clickActionButton();
await umbracoUi.memberGroup.clickDeleteButton();
await umbracoUi.memberGroup.clickConfirmToDeleteButton();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ test('can delete member', {tag: '@smoke'}, async ({umbracoApi, umbracoUi}) => {

// Act
await umbracoUi.member.clickMemberLinkByName(memberName);
await umbracoUi.memberGroup.clickActionsButton();
await umbracoUi.memberGroup.clickActionButton();
await umbracoUi.memberGroup.clickDeleteButton();
await umbracoUi.memberGroup.clickConfirmToDeleteButton();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ test('can delete a user group', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.userGroup.clickUserGroupWithName(userGroupName);

// Act
await umbracoUi.userGroup.clickActionsButton();
await umbracoUi.userGroup.clickActionButton();
await umbracoUi.userGroup.clickDeleteButton();
await umbracoUi.userGroup.clickConfirmToDeleteButton();

Expand Down
Loading