= [];
@property({ type: Array })
@@ -57,6 +57,8 @@ export class UmbPropertyEditorUICheckboxListElement extends UmbLitElement implem
.selectedIds="${this.#value}"
.list="${this._list}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUICheckboxListElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/bulk-action-permissions/property-editor-ui-collection-view-bulk-action-permissions.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/bulk-action-permissions/property-editor-ui-collection-view-bulk-action-permissions.element.ts
index 41ef8e31a9..42df22a682 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/bulk-action-permissions/property-editor-ui-collection-view-bulk-action-permissions.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/bulk-action-permissions/property-editor-ui-collection-view-bulk-action-permissions.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-collection-view-bulk-action-permissions')
export class UmbPropertyEditorUICollectionViewBulkActionPermissionsElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUICollectionViewBulkActionPermissionsElement exten
render() {
return html`umb-property-editor-ui-collection-view-bulk-action-permissions
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUICollectionViewBulkActionPermissionsElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.ts
index 2789e8147a..c4418b8592 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-collection-view-column-configuration')
export class UmbPropertyEditorUICollectionViewColumnConfigurationElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUICollectionViewColumnConfigurationElement extends
render() {
return html`umb-property-editor-ui-collection-view-column-configuration
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUICollectionViewColumnConfigurationElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/layout-configuration/property-editor-ui-collection-view-layout-configuration.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/layout-configuration/property-editor-ui-collection-view-layout-configuration.element.ts
index 6576df1792..268e306578 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/layout-configuration/property-editor-ui-collection-view-layout-configuration.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/layout-configuration/property-editor-ui-collection-view-layout-configuration.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-collection-view-layout-configuration')
export class UmbPropertyEditorUICollectionViewLayoutConfigurationElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUICollectionViewLayoutConfigurationElement extends
render() {
return html`umb-property-editor-ui-collection-view-layout-configuration
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUICollectionViewLayoutConfigurationElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/order-by/property-editor-ui-collection-view-order-by.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/order-by/property-editor-ui-collection-view-order-by.element.ts
index 5622a5457d..528104ba4e 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/order-by/property-editor-ui-collection-view-order-by.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/config/order-by/property-editor-ui-collection-view-order-by.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-collection-view-order-by')
export class UmbPropertyEditorUICollectionViewOrderByElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUICollectionViewOrderByElement extends UmbLitEleme
render() {
return html`umb-property-editor-ui-collection-view-order-by
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUICollectionViewOrderByElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/property-editor-ui-collection-view.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/property-editor-ui-collection-view.element.ts
index 9899891891..6db920a084 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/property-editor-ui-collection-view.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/collection-view/property-editor-ui-collection-view.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-collection-view')
export class UmbPropertyEditorUICollectionViewElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUICollectionViewElement extends UmbLitElement {
render() {
return html`umb-property-editor-ui-collection-view
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUICollectionViewElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/color-picker/property-editor-ui-color-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/color-picker/property-editor-ui-color-picker.element.ts
index 7c9be4925f..436e7a4575 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/color-picker/property-editor-ui-color-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/color-picker/property-editor-ui-color-picker.element.ts
@@ -12,7 +12,7 @@ import type { SwatchDetails } from '@umbraco-cms/backoffice/models';
*/
@customElement('umb-property-editor-ui-color-picker')
export class UmbPropertyEditorUIColorPickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -43,6 +43,8 @@ export class UmbPropertyEditorUIColorPickerElement extends UmbLitElement impleme
.swatches="${this._swatches}"
.showLabels="${this._showLabels}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIColorPickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/property-editor-ui-date-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/property-editor-ui-date-picker.element.ts
index 7b4eb5472d..2efa0b7ce1 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/property-editor-ui-date-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/date-picker/property-editor-ui-date-picker.element.ts
@@ -12,7 +12,7 @@ import { PropertyEditorConfigDefaultData } from '@umbraco-cms/backoffice/extensi
*/
@customElement('umb-property-editor-ui-date-picker')
export class UmbPropertyEditorUIDatePickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
private _value?: Date;
private _valueString?: string;
@@ -81,6 +81,8 @@ export class UmbPropertyEditorUIDatePickerElement extends UmbLitElement implemen
.value=${this._valueString}
label="Pick a date or time">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIDatePickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/dropdown/property-editor-ui-dropdown.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/dropdown/property-editor-ui-dropdown.element.ts
index 4079e02fde..ce103b1e32 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/dropdown/property-editor-ui-dropdown.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/dropdown/property-editor-ui-dropdown.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-dropdown')
export class UmbPropertyEditorUIDropdownElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIDropdownElement extends UmbLitElement implements
render() {
return html`umb-property-editor-ui-dropdown
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIDropdownElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/eye-dropper/property-editor-ui-eye-dropper.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/eye-dropper/property-editor-ui-eye-dropper.element.ts
index a24e470c38..d6fe2ba4c3 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/eye-dropper/property-editor-ui-eye-dropper.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/eye-dropper/property-editor-ui-eye-dropper.element.ts
@@ -11,7 +11,7 @@ import type { DataTypePropertyPresentationModel } from '@umbraco-cms/backoffice/
*/
@customElement('umb-property-editor-ui-eye-dropper')
export class UmbPropertyEditorUIEyeDropperElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -42,6 +42,8 @@ export class UmbPropertyEditorUIEyeDropperElement extends UmbLitElement implemen
.swatches=${this._swatches}
.opacity="${this._opacity}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIEyeDropperElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/icon-picker/property-editor-ui-icon-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/icon-picker/property-editor-ui-icon-picker.element.ts
index aebdeeb989..6b449cfd86 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/icon-picker/property-editor-ui-icon-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/icon-picker/property-editor-ui-icon-picker.element.ts
@@ -10,7 +10,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-icon-picker')
export class UmbPropertyEditorUIIconPickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -42,6 +42,8 @@ export class UmbPropertyEditorUIIconPickerElement extends UmbLitElement implemen
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIIconPickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-cropper/property-editor-ui-image-cropper.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-cropper/property-editor-ui-image-cropper.element.ts
index c11b93d848..50b9ece7fa 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-cropper/property-editor-ui-image-cropper.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-cropper/property-editor-ui-image-cropper.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-image-cropper')
export class UmbPropertyEditorUIImageCropperElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIImageCropperElement extends UmbLitElement implem
render() {
return html`umb-property-editor-ui-image-cropper
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIImageCropperElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.ts
index d6cc3592b4..214c373e3f 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/image-crops-configuration/property-editor-ui-image-crops-configuration.element.ts
@@ -12,7 +12,7 @@ export class UmbPropertyEditorUIImageCropsConfigurationElement
extends UmbLitElement
implements UmbPropertyEditorElement
{
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -23,6 +23,8 @@ export class UmbPropertyEditorUIImageCropsConfigurationElement
render() {
return html`umb-property-editor-ui-image-crops-configuration
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIImageCropsConfigurationElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/label/property-editor-ui-label.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/label/property-editor-ui-label.element.ts
index 5cc1faa69e..02b207b9a2 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/label/property-editor-ui-label.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/label/property-editor-ui-label.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-label')
export class UmbPropertyEditorUILabelElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUILabelElement extends UmbLitElement implements Um
render() {
return html`umb-property-editor-ui-label
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUILabelElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/markdown-editor/property-editor-ui-markdown-editor.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/markdown-editor/property-editor-ui-markdown-editor.element.ts
index d403592382..8be60cda1c 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/markdown-editor/property-editor-ui-markdown-editor.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/markdown-editor/property-editor-ui-markdown-editor.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-markdown-editor')
export class UmbPropertyEditorUIMarkdownEditorElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIMarkdownEditorElement extends UmbLitElement impl
render() {
return html`umb-property-editor-ui-markdown-editor
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIMarkdownEditorElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-group-picker/property-editor-ui-member-group-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-group-picker/property-editor-ui-member-group-picker.element.ts
index 770289b8fe..2d64cfa210 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-group-picker/property-editor-ui-member-group-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-group-picker/property-editor-ui-member-group-picker.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-member-group-picker')
export class UmbPropertyEditorUIMemberGroupPickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIMemberGroupPickerElement extends UmbLitElement i
render() {
return html`umb-property-editor-ui-member-group-picker
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIMemberGroupPickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-picker/property-editor-ui-member-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-picker/property-editor-ui-member-picker.element.ts
index 8c5c2b5038..b704333f48 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-picker/property-editor-ui-member-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/member-picker/property-editor-ui-member-picker.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-member-picker')
export class UmbPropertyEditorUIMemberPickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIMemberPickerElement extends UmbLitElement implem
render() {
return html`umb-property-editor-ui-member-picker
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIMemberPickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multi-url-picker/property-editor-ui-multi-url-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multi-url-picker/property-editor-ui-multi-url-picker.element.ts
index e4111187c0..86b05cdce5 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multi-url-picker/property-editor-ui-multi-url-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multi-url-picker/property-editor-ui-multi-url-picker.element.ts
@@ -14,7 +14,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-multi-url-picker')
export class UmbPropertyEditorUIMultiUrlPickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property({ type: Array })
value: UmbLinkPickerLink[] = [];
@@ -87,6 +87,8 @@ export class UmbPropertyEditorUIMultiUrlPickerElement extends UmbLitElement impl
.min=${this._minNumber}
.urls="${this.value}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIMultiUrlPickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string-item/input-multiple-text-string-item.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string-item/input-multiple-text-string-item.element.ts
index cbc21787b0..37398f4397 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string-item/input-multiple-text-string-item.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string-item/input-multiple-text-string-item.element.ts
@@ -13,25 +13,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-input-multiple-text-string-item')
export class UmbInputMultipleTextStringItemElement extends FormControlMixin(UmbLitElement) {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- align-items: center;
- margin-bottom: var(--uui-size-space-3);
- gap: var(--uui-size-space-3);
- }
-
- #validation-message {
- flex: 1;
- }
-
- #input {
- width: 100%;
- }
- `,
- ];
+
/**
* Disables the input
@@ -139,6 +121,26 @@ export class UmbInputMultipleTextStringItemElement extends FormControlMixin(UmbL
`}
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ align-items: center;
+ margin-bottom: var(--uui-size-space-3);
+ gap: var(--uui-size-space-3);
+ }
+
+ #validation-message {
+ flex: 1;
+ }
+
+ #input {
+ width: 100%;
+ }
+ `,
+ ];
}
export default UmbInputMultipleTextStringItemElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts
index f0dc741e85..1755fc16b0 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts
@@ -18,14 +18,7 @@ export interface MultipleTextStringValueItem {
*/
@customElement('umb-input-multiple-text-string')
export class UmbInputMultipleTextStringElement extends FormControlMixin(UmbLitElement) {
- static styles = [
- UUITextStyles,
- css`
- #action {
- display: block;
- }
- `,
- ];
+
/**
* This is a minimum amount of selected items in this input.
@@ -203,6 +196,15 @@ export class UmbInputMultipleTextStringElement extends FormControlMixin(UmbLitEl
?disabled=${this.disabled}>`}
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ #action {
+ display: block;
+ }
+ `,
+ ];
}
export default UmbInputMultipleTextStringElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number-range/property-editor-ui-number-range.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number-range/property-editor-ui-number-range.element.ts
index 731cc6c56a..faa0c90cad 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number-range/property-editor-ui-number-range.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number-range/property-editor-ui-number-range.element.ts
@@ -16,7 +16,7 @@ type ValueType = {
*/
@customElement('umb-property-editor-ui-number-range')
export class UmbPropertyEditorUINumberRangeElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property({ type: Object })
private _value: ValueType = { min: undefined, max: undefined };
@@ -51,6 +51,8 @@ export class UmbPropertyEditorUINumberRangeElement extends UmbLitElement impleme
.maxValue=${this._maxValue}
@change=${this._onChange}>`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUINumberRangeElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number/property-editor-ui-number.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number/property-editor-ui-number.element.ts
index 3a8e51db01..8bcabdce57 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number/property-editor-ui-number.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/number/property-editor-ui-number.element.ts
@@ -6,14 +6,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-property-editor-ui-number')
export class UmbPropertyEditorUINumberElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [
- UUITextStyles,
- css`
- uui-input {
- width: 100%;
- }
- `,
- ];
+
@property()
value = '';
@@ -29,6 +22,15 @@ export class UmbPropertyEditorUINumberElement extends UmbLitElement implements U
render() {
return html``;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ uui-input {
+ width: 100%;
+ }
+ `,
+ ];
}
export default UmbPropertyEditorUINumberElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/order-direction/property-editor-ui-order-direction.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/order-direction/property-editor-ui-order-direction.element.ts
index 01ada182d8..2326a65f3c 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/order-direction/property-editor-ui-order-direction.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/order-direction/property-editor-ui-order-direction.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-order-direction')
export class UmbPropertyEditorUIOrderDirectionElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIOrderDirectionElement extends UmbLitElement impl
render() {
return html`umb-property-editor-ui-order-direction
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIOrderDirectionElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/overlay-size/property-editor-ui-overlay-size.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/overlay-size/property-editor-ui-overlay-size.element.ts
index 562f5ca98b..7a30aad0fd 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/overlay-size/property-editor-ui-overlay-size.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/overlay-size/property-editor-ui-overlay-size.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-overlay-size')
export class UmbPropertyEditorUIOverlaySizeElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIOverlaySizeElement extends UmbLitElement impleme
render() {
return html`umb-property-editor-ui-overlay-size
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIOverlaySizeElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/radio-button-list/property-editor-ui-radio-button-list.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/radio-button-list/property-editor-ui-radio-button-list.element.ts
index 2860ec351a..51fa7e0288 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/radio-button-list/property-editor-ui-radio-button-list.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/radio-button-list/property-editor-ui-radio-button-list.element.ts
@@ -12,7 +12,7 @@ import type { DataTypePropertyPresentationModel } from '@umbraco-cms/backoffice/
*/
@customElement('umb-property-editor-ui-radio-button-list')
export class UmbPropertyEditorUIRadioButtonListElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
#value = '';
@property({ type: String })
@@ -59,6 +59,8 @@ export class UmbPropertyEditorUIRadioButtonListElement extends UmbLitElement imp
.selectedKey="${this.#value}"
.list="${this._list}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIRadioButtonListElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/slider/property-editor-ui-slider.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/slider/property-editor-ui-slider.element.ts
index 1e9e8d1fc0..5e8dfc75df 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/slider/property-editor-ui-slider.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/slider/property-editor-ui-slider.element.ts
@@ -11,7 +11,7 @@ import { DataTypePropertyPresentationModel } from '@umbraco-cms/backoffice/backe
*/
@customElement('umb-property-editor-ui-slider')
export class UmbPropertyEditorUISliderElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value: {
@@ -81,6 +81,8 @@ export class UmbPropertyEditorUISliderElement extends UmbLitElement implements U
?enable-range=${this._enableRange}
@change="${this._onChange}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUISliderElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/config/storage-type/property-editor-ui-tags-storage-type.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/config/storage-type/property-editor-ui-tags-storage-type.element.ts
index 5c6952088a..e038f78551 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/config/storage-type/property-editor-ui-tags-storage-type.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/config/storage-type/property-editor-ui-tags-storage-type.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-tags-storage-type')
export class UmbPropertyEditorUITagsStorageTypeElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUITagsStorageTypeElement extends UmbLitElement {
render() {
return html`umb-property-editor-ui-tags-storage-type
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUITagsStorageTypeElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/property-editor-ui-tags.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/property-editor-ui-tags.element.ts
index 3d1595083e..1c7255089f 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/property-editor-ui-tags.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tags/property-editor-ui-tags.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-tags')
export class UmbPropertyEditorUITagsElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUITagsElement extends UmbLitElement implements Umb
render() {
return html`umb-property-editor-ui-tags
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUITagsElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/text-box/property-editor-ui-text-box.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/text-box/property-editor-ui-text-box.element.ts
index bd108a43f4..ba23f7cc9c 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/text-box/property-editor-ui-text-box.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/text-box/property-editor-ui-text-box.element.ts
@@ -6,14 +6,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-property-editor-ui-text-box')
export class UmbPropertyEditorUITextBoxElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [
- UUITextStyles,
- css`
- uui-input {
- width: 100%;
- }
- `,
- ];
+
@property()
value = '';
@@ -29,6 +22,15 @@ export class UmbPropertyEditorUITextBoxElement extends UmbLitElement implements
render() {
return html``;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ uui-input {
+ width: 100%;
+ }
+ `,
+ ];
}
export default UmbPropertyEditorUITextBoxElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/textarea/property-editor-ui-textarea.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/textarea/property-editor-ui-textarea.element.ts
index f39539b6a9..5ff0acbb59 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/textarea/property-editor-ui-textarea.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/textarea/property-editor-ui-textarea.element.ts
@@ -11,14 +11,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-property-editor-ui-textarea')
export class UmbPropertyEditorUITextareaElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [
- UUITextStyles,
- css`
- uui-textarea {
- width: 100%;
- }
- `,
- ];
+
@property()
value = '';
@@ -44,6 +37,15 @@ export class UmbPropertyEditorUITextareaElement extends UmbLitElement implements
render() {
return html` `;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ uui-textarea {
+ width: 100%;
+ }
+ `,
+ ];
}
export default UmbPropertyEditorUITextareaElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.ts
index edcb9a17f0..3a4b68a643 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-tiny-mce-configuration')
export class UmbPropertyEditorUITinyMceConfigurationElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUITinyMceConfigurationElement extends UmbLitElemen
render() {
return html`umb-property-editor-ui-tiny-mce-configuration
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUITinyMceConfigurationElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.ts
index 82382969ee..350698fbd5 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-tiny-mce')
export class UmbPropertyEditorUITinyMceElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUITinyMceElement extends UmbLitElement implements
render() {
return html`umb-property-editor-ui-tiny-mce
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUITinyMceElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/toggle/property-editor-ui-toggle.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/toggle/property-editor-ui-toggle.element.ts
index 1b7128c789..ee4552ae78 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/toggle/property-editor-ui-toggle.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/toggle/property-editor-ui-toggle.element.ts
@@ -11,7 +11,7 @@ import { DataTypePropertyPresentationModel } from '@umbraco-cms/backoffice/backe
*/
@customElement('umb-property-editor-ui-toggle')
export class UmbPropertyEditorUIToggleElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = false;
@@ -53,6 +53,8 @@ export class UmbPropertyEditorUIToggleElement extends UmbLitElement implements U
?showLabels="${this._showLabels}"
@change="${this._onChange}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIToggleElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/config/start-node/property-editor-ui-tree-picker-start-node.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/config/start-node/property-editor-ui-tree-picker-start-node.element.ts
index 39e0f4aba0..b2a222a380 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/config/start-node/property-editor-ui-tree-picker-start-node.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/config/start-node/property-editor-ui-tree-picker-start-node.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-tree-picker-start-node')
export class UmbPropertyEditorUITreePickerStartNodeElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -19,6 +19,8 @@ export class UmbPropertyEditorUITreePickerStartNodeElement extends UmbLitElement
render() {
return html`umb-property-editor-ui-tree-picker-start-node
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUITreePickerStartNodeElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/property-editor-ui-tree-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/property-editor-ui-tree-picker.element.ts
index 94f3e28c9d..2054afaf0a 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/property-editor-ui-tree-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/tree-picker/property-editor-ui-tree-picker.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-tree-picker')
export class UmbPropertyEditorUITreePickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUITreePickerElement extends UmbLitElement implemen
render() {
return html`umb-property-editor-ui-tree-picker
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUITreePickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/upload-field/property-editor-ui-upload-field.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/upload-field/property-editor-ui-upload-field.element.ts
index 56afaf29ca..794cb99568 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/upload-field/property-editor-ui-upload-field.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/upload-field/property-editor-ui-upload-field.element.ts
@@ -11,7 +11,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-upload-field')
export class UmbPropertyEditorUIUploadFieldElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -42,6 +42,8 @@ export class UmbPropertyEditorUIUploadFieldElement extends UmbLitElement impleme
?multiple="${this._multiple}"
.fileExtensions="${this._fileExtensions}">`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIUploadFieldElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/user-picker/property-editor-ui-user-picker.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/user-picker/property-editor-ui-user-picker.element.ts
index 0a24a724b4..f06c25f5bc 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/user-picker/property-editor-ui-user-picker.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/user-picker/property-editor-ui-user-picker.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-user-picker')
export class UmbPropertyEditorUIUserPickerElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIUserPickerElement extends UmbLitElement implemen
render() {
return html`umb-property-editor-ui-user-picker
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIUserPickerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/value-type/property-editor-ui-value-type.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/value-type/property-editor-ui-value-type.element.ts
index 351777767a..919321a3a4 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/value-type/property-editor-ui-value-type.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/property-editors/uis/value-type/property-editor-ui-value-type.element.ts
@@ -9,7 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
*/
@customElement('umb-property-editor-ui-value-type')
export class UmbPropertyEditorUIValueTypeElement extends UmbLitElement implements UmbPropertyEditorElement {
- static styles = [UUITextStyles];
+
@property()
value = '';
@@ -20,6 +20,8 @@ export class UmbPropertyEditorUIValueTypeElement extends UmbLitElement implement
render() {
return html`umb-property-editor-ui-value-type
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbPropertyEditorUIValueTypeElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/templating/components/file-system-tree-item/file-system-tree-item.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/templating/components/file-system-tree-item/file-system-tree-item.element.ts
index 1d18dc610a..99f586c419 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/templating/components/file-system-tree-item/file-system-tree-item.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/templating/components/file-system-tree-item/file-system-tree-item.element.ts
@@ -22,7 +22,7 @@ umbExtensionsRegistry.register(manifest);
@customElement('umb-file-system-tree-item')
export class UmbFileSystemTreeItemElement extends UmbLitElement {
- static styles = [UUITextStyles, css``];
+
private _item?: FileSystemTreeItemPresentationModel;
@property({ type: Object, attribute: false })
@@ -40,6 +40,8 @@ export class UmbFileSystemTreeItemElement extends UmbLitElement {
if (!this.item) return nothing;
return html``;
}
+
+ static styles = [UUITextStyles, css``];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace-edit.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace-edit.element.ts
index 69c89804e5..2de5896840 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace-edit.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace-edit.element.ts
@@ -4,6 +4,12 @@ import { customElement } from 'lit/decorators.js';
@customElement('umb-stylesheet-workspace-edit')
export class UmbStylesheetWorkspaceEditElement extends LitElement {
+
+
+ render() {
+ return html` Stylesheet workspace `;
+ }
+
static styles = [
UUITextStyles,
css`
@@ -14,10 +20,6 @@ export class UmbStylesheetWorkspaceEditElement extends LitElement {
}
`,
];
-
- render() {
- return html` Stylesheet workspace `;
- }
}
export default UmbStylesheetWorkspaceEditElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace.element.ts
index 0d9d3487c1..b3026afaa7 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/templating/stylesheets/workspace/stylesheet-workspace.element.ts
@@ -9,16 +9,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-stylesheet-workspace')
export class UmbStylesheetWorkspaceElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: block;
- width: 100%;
- height: 100%;
- }
- `,
- ];
+
#workspaceContext = new UmbStylesheetWorkspaceContext(this);
#element = new UmbStylesheetWorkspaceEditElement();
@@ -39,6 +30,17 @@ export class UmbStylesheetWorkspaceElement extends UmbLitElement {
render() {
return html` `;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ width: 100%;
+ height: 100%;
+ }
+ `,
+ ];
}
export default UmbStylesheetWorkspaceElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/templating/templates/workspace/template-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/templating/templates/workspace/template-workspace.element.ts
index d0d6e21dfd..68b7f41475 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/templating/templates/workspace/template-workspace.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/templating/templates/workspace/template-workspace.element.ts
@@ -8,30 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-template-workspace')
export class UmbTemplateWorkspaceElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: block;
- width: 100%;
- height: 100%;
- }
-
- umb-code-editor {
- --editor-height: calc(100vh - 300px);
- }
-
- uui-box {
- margin: 1em;
- --uui-box-default-padding: 0;
- }
-
- uui-input {
- width: 100%;
- margin: 1em;
- }
- `,
- ];
+
public load(entityId: string) {
this.#templateWorkspaceContext.load(entityId);
@@ -104,6 +81,31 @@ export class UmbTemplateWorkspaceElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ width: 100%;
+ height: 100%;
+ }
+
+ umb-code-editor {
+ --editor-height: calc(100vh - 300px);
+ }
+
+ uui-box {
+ margin: 1em;
+ --uui-box-default-padding: 0;
+ }
+
+ uui-input {
+ width: 100%;
+ margin: 1em;
+ }
+ `,
+ ];
}
export default UmbTemplateWorkspaceElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts
index 031192d45b..88f3db2a2d 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts
@@ -11,33 +11,7 @@ import { UmbContextConsumerController } from '@umbraco-cms/backoffice/context-ap
@customElement('umb-dashboard-translation-dictionary')
export class UmbDashboardTranslationDictionaryElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- flex-direction: column;
- height: 100%;
- margin: var(--uui-size-layout-1);
- }
-
- #dictionary-top-bar {
- margin-bottom: var(--uui-size-space-5);
- display: flex;
- justify-content: space-between;
- }
-
- umb-table {
- display: inline;
- padding: 0;
- }
-
- umb-empty-state {
- margin: auto;
- font-size: var(--uui-size-6);
- }
- `,
- ];
+
@state()
private _tableConfig: UmbTableConfig = {
@@ -192,6 +166,34 @@ export class UmbDashboardTranslationDictionaryElement extends UmbLitElement {
() => html`There were no dictionary items found.`
)}`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ margin: var(--uui-size-layout-1);
+ }
+
+ #dictionary-top-bar {
+ margin-bottom: var(--uui-size-space-5);
+ display: flex;
+ justify-content: space-between;
+ }
+
+ umb-table {
+ display: inline;
+ padding: 0;
+ }
+
+ umb-empty-state {
+ margin: auto;
+ font-size: var(--uui-size-6);
+ }
+ `,
+ ];
}
export default UmbDashboardTranslationDictionaryElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/create/create-dictionary-modal-layout.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/create/create-dictionary-modal-layout.element.ts
index 6756740c65..93cb03cca0 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/create/create-dictionary-modal-layout.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/create/create-dictionary-modal-layout.element.ts
@@ -10,7 +10,7 @@ export class UmbCreateDictionaryModalElement extends UmbModalBaseElement<
UmbCreateDictionaryModalData,
UmbCreateDictionaryModalResult
> {
- static styles = [UUITextStyles];
+
@query('#form')
private _form!: HTMLFormElement;
@@ -69,6 +69,8 @@ export class UmbCreateDictionaryModalElement extends UmbModalBaseElement<
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbCreateDictionaryModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/export/export-dictionary-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/export/export-dictionary-modal.element.ts
index 9f746ae2e1..4c5b6523a3 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/export/export-dictionary-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/entity-actions/export/export-dictionary-modal.element.ts
@@ -9,7 +9,7 @@ export class UmbExportDictionaryModalElement extends UmbModalBaseElement<
UmbExportDictionaryModalData,
UmbExportDictionaryModalResult
> {
- static styles = [UUITextStyles];
+
@query('#form')
private _form!: HTMLFormElement;
@@ -47,6 +47,8 @@ export class UmbExportDictionaryModalElement extends UmbModalBaseElement<
`;
}
+
+ static styles = [UUITextStyles];
}
export default UmbExportDictionaryModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace-edit.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace-edit.element.ts
index 0cf2947ecb..e03da52678 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace-edit.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace-edit.element.ts
@@ -8,20 +8,7 @@ import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/context-ap
@customElement('umb-dictionary-workspace-edit')
export class UmbDictionaryWorkspaceEditElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- #header {
- display: flex;
- padding: 0 var(--uui-size-layout-1);
- gap: var(--uui-size-space-4);
- width: 100%;
- }
- uui-input {
- width: 100%;
- }
- `,
- ];
+
@state()
private _name?: string | null = '';
@@ -65,6 +52,21 @@ export class UmbDictionaryWorkspaceEditElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ #header {
+ display: flex;
+ padding: 0 var(--uui-size-layout-1);
+ gap: var(--uui-size-space-4);
+ width: 100%;
+ }
+ uui-input {
+ width: 100%;
+ }
+ `,
+ ];
}
export default UmbDictionaryWorkspaceEditElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace.element.ts
index 68d93ba9c5..692759b71b 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/dictionary-workspace.element.ts
@@ -8,7 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-dictionary-workspace')
export class UmbWorkspaceDictionaryElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
#workspaceContext = new UmbDictionaryWorkspaceContext(this);
#element = new UmbDictionaryWorkspaceEditElement();
@@ -28,6 +28,8 @@ export class UmbWorkspaceDictionaryElement extends UmbLitElement {
render() {
return html` `;
}
+
+ static styles = [UUITextStyles];
}
export default UmbWorkspaceDictionaryElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/views/edit/workspace-view-dictionary-edit.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/views/edit/workspace-view-dictionary-edit.element.ts
index d232ccd027..537e02d97c 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/views/edit/workspace-view-dictionary-edit.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/translation/dictionary/workspace/views/edit/workspace-view-dictionary-edit.element.ts
@@ -12,15 +12,7 @@ import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/context-ap
@customElement('umb-workspace-view-dictionary-edit')
export class UmbWorkspaceViewDictionaryEditElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: block;
- padding: var(--uui-size-space-6);
- }
- `,
- ];
+
@state()
private _dictionary?: DictionaryItemResponseModel;
@@ -88,6 +80,16 @@ export class UmbWorkspaceViewDictionaryEditElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ padding: var(--uui-size-space-6);
+ }
+ `,
+ ];
}
export default UmbWorkspaceViewDictionaryEditElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/current-user-header-app.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/current-user-header-app.element.ts
index 7cf07e767f..2462854ed5 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/current-user-header-app.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/current-user-header-app.element.ts
@@ -8,15 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-current-user-header-app')
export class UmbCurrentUserHeaderAppElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- UUITextStyles,
- css`
- uui-button {
- font-size: 14px;
- --uui-button-background-color: transparent;
- }
- `,
- ];
+
@state()
private _currentUser?: UserDetails;
@@ -56,6 +48,16 @@ export class UmbCurrentUserHeaderAppElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ UUITextStyles,
+ css`
+ uui-button {
+ font-size: 14px;
+ --uui-button-background-color: transparent;
+ }
+ `,
+ ];
}
export default UmbCurrentUserHeaderAppElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/change-password/change-password-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/change-password/change-password-modal.element.ts
index f5fc28ad43..a6a487a455 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/change-password/change-password-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/change-password/change-password-modal.element.ts
@@ -6,23 +6,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-change-password-modal')
export class UmbChangePasswordModalElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- UUITextStyles,
- css`
- :host {
- display: block;
- width: 400px;
- }
- uui-input-password {
- width: 100%;
- }
- #actions {
- display: flex;
- justify-content: flex-end;
- margin-top: var(--uui-size-layout-2);
- }
- `,
- ];
+
@property({ attribute: false })
modalHandler?: UmbModalHandler;
@@ -99,6 +83,24 @@ export class UmbChangePasswordModalElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ width: 400px;
+ }
+ uui-input-password {
+ width: 100%;
+ }
+ #actions {
+ display: flex;
+ justify-content: flex-end;
+ margin-top: var(--uui-size-layout-2);
+ }
+ `,
+ ];
}
export default UmbChangePasswordModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/current-user/current-user-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/current-user/current-user-modal.element.ts
index 862d2e5823..78bb4d041a 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/current-user/current-user-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/modals/current-user/current-user-modal.element.ts
@@ -8,36 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-current-user-modal')
export class UmbCurrentUserModalElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- UUITextStyles,
- css`
- :host {
- display: block;
- color: var(--uui-color-text);
- }
- :host,
- umb-workspace-layout {
- width: 100%;
- height: 100%;
- }
- #main {
- padding: var(--uui-size-space-5);
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-3);
- }
- #umbraco-id-buttons {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-3);
- }
- #userProfileApps {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-3);
- }
- `,
- ];
+
@property({ attribute: false })
modalHandler?: UmbModalHandler;
@@ -87,6 +58,37 @@ export class UmbCurrentUserModalElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ color: var(--uui-color-text);
+ }
+ :host,
+ umb-workspace-layout {
+ width: 100%;
+ height: 100%;
+ }
+ #main {
+ padding: var(--uui-size-space-5);
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-3);
+ }
+ #umbraco-id-buttons {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-3);
+ }
+ #userProfileApps {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-3);
+ }
+ `,
+ ];
}
export default UmbCurrentUserModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-external-login-providers.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-external-login-providers.element.ts
index 9ebcc291a5..6d6ef2a7a3 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-external-login-providers.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-external-login-providers.element.ts
@@ -5,7 +5,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-user-profile-app-external-login-providers')
export class UmbUserProfileAppExternalLoginProvidersElement extends UmbLitElement {
- static styles = [UUITextStyles, css``];
+
render() {
return html`
@@ -15,6 +15,8 @@ export class UmbUserProfileAppExternalLoginProvidersElement extends UmbLitElemen
`;
}
+
+ static styles = [UUITextStyles, css``];
}
export default UmbUserProfileAppExternalLoginProvidersElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-history.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-history.element.ts
index ffdd50ace4..a64daebe8c 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-history.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-history.element.ts
@@ -10,48 +10,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-user-profile-app-history')
export class UmbUserProfileAppHistoryElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- #recent-history {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-3);
- }
- #recent-history-items {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-4);
- }
- .history-item {
- display: grid;
- grid-template-columns: 32px 1fr;
- grid-template-rows: 1fr;
- color: var(--uui-color-interactive);
- text-decoration: none;
- }
- .history-item uui-icon {
- margin-top: var(--uui-size-space-1);
- }
- .history-item:hover {
- color: var(--uui-color-interactive-emphasis);
- }
- .history-item > div {
- color: inherit;
- text-decoration: none;
- display: flex;
- flex-direction: column;
- line-height: 1.4em;
- }
- .history-item > div > span {
- font-size: var(--uui-size-4);
- opacity: 0.5;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- `,
- ];
+
@state()
private _history: Array = [];
@@ -107,6 +66,49 @@ export class UmbUserProfileAppHistoryElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ #recent-history {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-3);
+ }
+ #recent-history-items {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-4);
+ }
+ .history-item {
+ display: grid;
+ grid-template-columns: 32px 1fr;
+ grid-template-rows: 1fr;
+ color: var(--uui-color-interactive);
+ text-decoration: none;
+ }
+ .history-item uui-icon {
+ margin-top: var(--uui-size-space-1);
+ }
+ .history-item:hover {
+ color: var(--uui-color-interactive-emphasis);
+ }
+ .history-item > div {
+ color: inherit;
+ text-decoration: none;
+ display: flex;
+ flex-direction: column;
+ line-height: 1.4em;
+ }
+ .history-item > div > span {
+ font-size: var(--uui-size-4);
+ opacity: 0.5;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ }
+ `,
+ ];
}
export default UmbUserProfileAppHistoryElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-profile.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-profile.element.ts
index 840b280c6a..3c54bf51c1 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-profile.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-profile.element.ts
@@ -8,7 +8,7 @@ import { UmbModalContext, UMB_CHANGE_PASSWORD_MODAL, UMB_MODAL_CONTEXT_TOKEN } f
@customElement('umb-user-profile-app-profile')
export class UmbUserProfileAppProfileElement extends UmbLitElement {
- static styles = [UUITextStyles, css``];
+
@state()
private _currentUser?: UserDetails;
@@ -62,6 +62,8 @@ export class UmbUserProfileAppProfileElement extends UmbLitElement {
`;
}
+
+ static styles = [UUITextStyles, css``];
}
export default UmbUserProfileAppProfileElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-themes.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-themes.element.ts
index b6bc69938f..4a7bd4e318 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-themes.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/current-user/user-profile-apps/user-profile-app-themes.element.ts
@@ -9,21 +9,7 @@ import { ManifestTheme } from '@umbraco-cms/backoffice/extensions-registry';
@customElement('umb-user-profile-app-themes')
export class UmbUserProfileAppThemesElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-4);
- padding: var(--uui-size-space-5);
- background: var(--uui-color-surface);
- color: var(--uui-color-text);
- border-radius: var(--uui-border-radius);
- box-shadow: var(--uui-shadow-depth-1);
- }
- `,
- ];
+
#themeService?: UmbThemeContext;
@@ -69,6 +55,22 @@ export class UmbUserProfileAppThemesElement extends UmbLitElement {
.options=${this.#options}>
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-4);
+ padding: var(--uui-size-space-5);
+ background: var(--uui-color-surface);
+ color: var(--uui-color-text);
+ border-radius: var(--uui-border-radius);
+ box-shadow: var(--uui-shadow-depth-1);
+ }
+ `,
+ ];
}
export default UmbUserProfileAppThemesElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/modals/user-group-picker/user-group-picker-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/modals/user-group-picker/user-group-picker-modal.element.ts
index 3a06069852..d85c609eb1 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/modals/user-group-picker/user-group-picker-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/modals/user-group-picker/user-group-picker-modal.element.ts
@@ -7,51 +7,7 @@ import type { UserGroupDetails } from '@umbraco-cms/backoffice/models';
@customElement('umb-user-group-picker-modal')
export class UmbUserGroupPickerModalElement extends UmbModalElementPickerBase {
- static styles = [
- UUITextStyles,
- css`
- uui-input {
- width: 100%;
- }
- hr {
- border: none;
- border-bottom: 1px solid var(--uui-color-divider);
- margin: 16px 0;
- }
- #item-list {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-1);
- }
- .item {
- color: var(--uui-color-interactive);
- display: grid;
- grid-template-columns: var(--uui-size-8) 1fr;
- padding: var(--uui-size-4) var(--uui-size-2);
- gap: var(--uui-size-space-5);
- align-items: center;
- border-radius: var(--uui-border-radius);
- cursor: pointer;
- }
- .item.selected {
- background-color: var(--uui-color-selected);
- color: var(--uui-color-selected-contrast);
- }
- .item:not(.selected):hover {
- background-color: var(--uui-color-surface-emphasis);
- color: var(--uui-color-interactive-emphasis);
- }
- .item.selected:hover {
- background-color: var(--uui-color-selected-emphasis);
- }
- .item uui-icon {
- width: 100%;
- box-sizing: border-box;
- display: flex;
- height: fit-content;
- }
- `,
- ];
+
@state()
private _userGroups: Array = [];
@@ -98,6 +54,52 @@ export class UmbUserGroupPickerModalElement extends UmbModalElementPickerBase
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ uui-input {
+ width: 100%;
+ }
+ hr {
+ border: none;
+ border-bottom: 1px solid var(--uui-color-divider);
+ margin: 16px 0;
+ }
+ #item-list {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-1);
+ }
+ .item {
+ color: var(--uui-color-interactive);
+ display: grid;
+ grid-template-columns: var(--uui-size-8) 1fr;
+ padding: var(--uui-size-4) var(--uui-size-2);
+ gap: var(--uui-size-space-5);
+ align-items: center;
+ border-radius: var(--uui-border-radius);
+ cursor: pointer;
+ }
+ .item.selected {
+ background-color: var(--uui-color-selected);
+ color: var(--uui-color-selected-contrast);
+ }
+ .item:not(.selected):hover {
+ background-color: var(--uui-color-surface-emphasis);
+ color: var(--uui-color-interactive-emphasis);
+ }
+ .item.selected:hover {
+ background-color: var(--uui-color-selected-emphasis);
+ }
+ .item uui-icon {
+ width: 100%;
+ box-sizing: border-box;
+ display: flex;
+ height: fit-content;
+ }
+ `,
+ ];
}
export default UmbUserGroupPickerModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/actions/workspace-action-user-group-save.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/actions/workspace-action-user-group-save.element.ts
index 79a76bc2fb..767cb800b2 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/actions/workspace-action-user-group-save.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/actions/workspace-action-user-group-save.element.ts
@@ -8,7 +8,7 @@ import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/context-ap
@customElement('umb-workspace-action-user-group-save')
export class UmbWorkspaceActionUserGroupSaveElement extends UmbLitElement {
- static styles = [UUITextStyles, css``];
+
@state()
private _saveButtonState?: UUIButtonState;
@@ -45,6 +45,8 @@ export class UmbWorkspaceActionUserGroupSaveElement extends UmbLitElement {
label="save"
.state="${this._saveButtonState}">`;
}
+
+ static styles = [UUITextStyles, css``];
}
export default UmbWorkspaceActionUserGroupSaveElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace-edit.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace-edit.element.ts
index a997c5133a..d803d7f7d8 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace-edit.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace-edit.element.ts
@@ -14,62 +14,7 @@ import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/context-ap
@customElement('umb-user-group-workspace-edit')
export class UmbUserGroupWorkspaceEditElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: block;
- height: 100%;
- }
-
- #main {
- display: grid;
- grid-template-columns: 1fr 350px;
- gap: var(--uui-size-layout-1);
- padding: var(--uui-size-layout-1);
- }
- #left-column {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-4);
- }
- #right-column > uui-box > div {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-2);
- }
- hr {
- border: none;
- border-bottom: 1px solid var(--uui-color-divider);
- width: 100%;
- }
- uui-input {
- width: 100%;
- }
- .faded-text {
- color: var(--uui-color-text-alt);
- font-size: 0.8rem;
- }
- #default-permissions {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-4);
- }
- .default-permission {
- display: flex;
- align-items: center;
- gap: var(--uui-size-space-4);
- padding: var(--uui-size-space-2);
- }
- .default-permission:not(:last-child) {
- border-bottom: 1px solid var(--uui-color-divider);
- }
- .permission-info {
- display: flex;
- flex-direction: column;
- }
- `,
- ];
+
defaultPermissions: Array<{
name: string;
@@ -361,6 +306,63 @@ export class UmbUserGroupWorkspaceEditElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ height: 100%;
+ }
+
+ #main {
+ display: grid;
+ grid-template-columns: 1fr 350px;
+ gap: var(--uui-size-layout-1);
+ padding: var(--uui-size-layout-1);
+ }
+ #left-column {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-4);
+ }
+ #right-column > uui-box > div {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-2);
+ }
+ hr {
+ border: none;
+ border-bottom: 1px solid var(--uui-color-divider);
+ width: 100%;
+ }
+ uui-input {
+ width: 100%;
+ }
+ .faded-text {
+ color: var(--uui-color-text-alt);
+ font-size: 0.8rem;
+ }
+ #default-permissions {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-4);
+ }
+ .default-permission {
+ display: flex;
+ align-items: center;
+ gap: var(--uui-size-space-4);
+ padding: var(--uui-size-space-2);
+ }
+ .default-permission:not(:last-child) {
+ border-bottom: 1px solid var(--uui-color-divider);
+ }
+ .permission-info {
+ display: flex;
+ flex-direction: column;
+ }
+ `,
+ ];
}
export default UmbUserGroupWorkspaceEditElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace.element.ts
index e27f918e93..89b05dd255 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-groups/workspace/user-group-workspace.element.ts
@@ -11,7 +11,7 @@ import type { IRoute } from '@umbraco-cms/backoffice/router';
@customElement('umb-user-group-workspace')
export class UmbUserGroupWorkspaceElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
#workspaceContext = new UmbUserGroupWorkspaceContext(this);
#element = new UmbUserGroupWorkspaceEditElement();
@@ -61,6 +61,8 @@ export class UmbUserGroupWorkspaceElement extends UmbLitElement {
render() {
return html` `;
}
+
+ static styles = [UUITextStyles];
}
export default UmbUserGroupWorkspaceElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/section-view-user-groups.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/section-view-user-groups.element.ts
index 270825f4e6..c5abab729c 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/section-view-user-groups.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/section-view-user-groups.element.ts
@@ -6,6 +6,12 @@ import './workspace-view-user-groups.element';
@customElement('umb-section-view-user-groups')
export class UmbSectionViewUserGroupsElement extends LitElement {
+
+
+ render() {
+ return html``;
+ }
+
static styles = [
UUITextStyles,
css`
@@ -18,10 +24,6 @@ export class UmbSectionViewUserGroupsElement extends LitElement {
}
`,
];
-
- render() {
- return html``;
- }
}
export default UmbSectionViewUserGroupsElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/workspace-view-user-groups.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/workspace-view-user-groups.element.ts
index 61ae8d8384..84567fcf85 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/workspace-view-user-groups.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/user-groups/workspace-view-user-groups.element.ts
@@ -24,21 +24,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-workspace-view-user-groups')
export class UmbWorkspaceViewUserGroupsElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- height: 100%;
- display: flex;
- flex-direction: column;
- margin: var(--uui-size-layout-1);
- }
-
- umb-table {
- padding: 0;
- }
- `,
- ];
+
@state()
private _userGroups: Array = [];
@@ -154,6 +140,22 @@ export class UmbWorkspaceViewUserGroupsElement extends UmbLitElement {
@ordered="${this._handleOrdering}">
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ margin: var(--uui-size-layout-1);
+ }
+
+ umb-table {
+ padding: 0;
+ }
+ `,
+ ];
}
export default UmbWorkspaceViewUserGroupsElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/grid/workspace-view-users-grid.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/grid/workspace-view-users-grid.element.ts
index 0cdb0edede..22b88cef10 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/grid/workspace-view-users-grid.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/grid/workspace-view-users-grid.element.ts
@@ -14,32 +14,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-workspace-view-users-grid')
export class UmbWorkspaceViewUsersGridElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- flex-direction: column;
- }
-
- #user-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
- gap: var(--uui-size-space-4);
- margin: var(--uui-size-layout-1);
- margin-top: var(--uui-size-space-2);
- }
-
- uui-card-user {
- width: 100%;
- height: 180px;
- }
-
- .user-login-time {
- margin-top: auto;
- }
- `,
- ];
+
@state()
private _users: Array = [];
@@ -155,6 +130,33 @@ export class UmbWorkspaceViewUsersGridElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ flex-direction: column;
+ }
+
+ #user-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+ gap: var(--uui-size-space-4);
+ margin: var(--uui-size-layout-1);
+ margin-top: var(--uui-size-space-2);
+ }
+
+ uui-card-user {
+ width: 100%;
+ height: 180px;
+ }
+
+ .user-login-time {
+ margin-top: auto;
+ }
+ `,
+ ];
}
export default UmbWorkspaceViewUsersGridElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/table/workspace-view-users-table.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/table/workspace-view-users-table.element.ts
index 33b8e1aa1e..ec4a433208 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/table/workspace-view-users-table.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/list-view-layouts/table/workspace-view-users-table.element.ts
@@ -23,20 +23,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-workspace-view-users-table')
export class UmbWorkspaceViewUsersTableElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- flex-direction: column;
- }
-
- umb-table {
- padding: 0;
- margin: 0 var(--uui-size-layout-1) var(--uui-size-layout-1);
- }
- `,
- ];
+
@state()
private _users: Array = [];
@@ -191,6 +178,21 @@ export class UmbWorkspaceViewUsersTableElement extends UmbLitElement {
@ordered="${this._handleOrdering}">
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ flex-direction: column;
+ }
+
+ umb-table {
+ padding: 0;
+ margin: 0 var(--uui-size-layout-1) var(--uui-size-layout-1);
+ }
+ `,
+ ];
}
export default UmbWorkspaceViewUsersTableElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/section-view-users.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/section-view-users.element.ts
index 64f9e96e23..c9ae7da4a0 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/section-view-users.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/section-view-users.element.ts
@@ -16,18 +16,7 @@ import type { ManifestWorkspace } from '@umbraco-cms/backoffice/extensions-regis
@customElement('umb-section-view-users')
export class UmbSectionViewUsersElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- height: 100%;
- }
-
- #router-slot {
- height: calc(100% - var(--umb-header-layout-height));
- }
- `,
- ];
+
@state()
private _routes: IRoute[] = [];
@@ -135,6 +124,19 @@ export class UmbSectionViewUsersElement extends UmbLitElement {
render() {
return html``;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ height: 100%;
+ }
+
+ #router-slot {
+ height: calc(100% - var(--umb-header-layout-height));
+ }
+ `,
+ ];
}
export default UmbSectionViewUsersElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-overview.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-overview.element.ts
index b770de3c2b..73f6e14627 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-overview.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-overview.element.ts
@@ -20,64 +20,7 @@ import './workspace-view-users-selection.element';
export type UsersViewType = 'list' | 'grid';
@customElement('umb-workspace-view-users-overview')
export class UmbWorkspaceViewUsersOverviewElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
-
- #sticky-top {
- position: sticky;
- top: 0px;
- z-index: 1;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 1px 2px rgba(0, 0, 0, 0);
- transition: 250ms box-shadow ease-in-out;
- }
-
- #sticky-top.header-shadow {
- box-shadow: var(--uui-shadow-depth-2);
- }
-
- #user-list-top-bar {
- padding: var(--uui-size-space-4) var(--uui-size-layout-1);
- background-color: var(--uui-color-background);
- display: flex;
- justify-content: space-between;
- white-space: nowrap;
- gap: var(--uui-size-space-5);
- align-items: center;
- }
- #user-list {
- padding: var(--uui-size-layout-1);
- padding-top: var(--uui-size-space-2);
- }
- #input-search {
- width: 100%;
- }
-
- uui-popover {
- width: unset;
- }
-
- .filter-dropdown {
- display: flex;
- gap: var(--uui-size-space-3);
- flex-direction: column;
- background-color: var(--uui-color-surface);
- padding: var(--uui-size-space-4);
- border-radius: var(--uui-size-border-radius);
- box-shadow: var(--uui-shadow-depth-2);
- width: fit-content;
- }
- a {
- color: inherit;
- text-decoration: none;
- }
- `,
- ];
+
@state()
private _selection: Array = [];
@@ -229,6 +172,65 @@ export class UmbWorkspaceViewUsersOverviewElement extends UmbLitElement {
${this._renderSelection()}
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+
+ #sticky-top {
+ position: sticky;
+ top: 0px;
+ z-index: 1;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0), 0 1px 2px rgba(0, 0, 0, 0);
+ transition: 250ms box-shadow ease-in-out;
+ }
+
+ #sticky-top.header-shadow {
+ box-shadow: var(--uui-shadow-depth-2);
+ }
+
+ #user-list-top-bar {
+ padding: var(--uui-size-space-4) var(--uui-size-layout-1);
+ background-color: var(--uui-color-background);
+ display: flex;
+ justify-content: space-between;
+ white-space: nowrap;
+ gap: var(--uui-size-space-5);
+ align-items: center;
+ }
+ #user-list {
+ padding: var(--uui-size-layout-1);
+ padding-top: var(--uui-size-space-2);
+ }
+ #input-search {
+ width: 100%;
+ }
+
+ uui-popover {
+ width: unset;
+ }
+
+ .filter-dropdown {
+ display: flex;
+ gap: var(--uui-size-space-3);
+ flex-direction: column;
+ background-color: var(--uui-color-surface);
+ padding: var(--uui-size-space-4);
+ border-radius: var(--uui-size-border-radius);
+ box-shadow: var(--uui-shadow-depth-2);
+ width: fit-content;
+ }
+ a {
+ color: inherit;
+ text-decoration: none;
+ }
+ `,
+ ];
}
export default UmbWorkspaceViewUsersOverviewElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-selection.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-selection.element.ts
index 6cfff21f9f..8ce1af9b6e 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-selection.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/user-section/views/users/workspace-view-users-selection.element.ts
@@ -7,21 +7,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-workspace-view-users-selection')
export class UmbWorkspaceViewUsersSelectionElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- gap: var(--uui-size-3);
- width: 100%;
- padding: var(--uui-size-space-4) var(--uui-size-space-6);
- background-color: var(--uui-color-selected);
- color: var(--uui-color-selected-contrast);
- align-items: center;
- box-sizing: border-box;
- }
- `,
- ];
+
@state()
private _selection: Array = [];
@@ -71,6 +57,22 @@ export class UmbWorkspaceViewUsersSelectionElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ gap: var(--uui-size-3);
+ width: 100%;
+ padding: var(--uui-size-space-4) var(--uui-size-space-6);
+ background-color: var(--uui-color-selected);
+ color: var(--uui-color-selected-contrast);
+ align-items: center;
+ box-sizing: border-box;
+ }
+ `,
+ ];
}
export default UmbWorkspaceViewUsersSelectionElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/create-user/create-user-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/create-user/create-user-modal.element.ts
index 39573a4e2c..095e3292fa 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/create-user/create-user-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/create-user/create-user-modal.element.ts
@@ -15,44 +15,7 @@ import {
export type UsersViewType = 'list' | 'grid';
@customElement('umb-create-user-modal')
export class UmbCreateUserModalElement extends UmbModalBaseElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
- width: 100%;
- }
- uui-box {
- max-width: 500px;
- }
- uui-form-layout-item {
- display: flex;
- flex-direction: column;
- }
- uui-input,
- uui-input-password {
- width: 100%;
- }
- form {
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- }
- uui-form-layout-item {
- margin-bottom: 0;
- }
- uui-textarea {
- --uui-textarea-min-height: 100px;
- }
- /* TODO: Style below is to fix a11y contrast issue, find a proper solution */
- [slot='description'] {
- color: black;
- }
- `,
- ];
+
@query('#form')
private _form!: HTMLFormElement;
@@ -208,6 +171,45 @@ export class UmbCreateUserModalElement extends UmbModalBaseElement {
`}
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ width: 100%;
+ }
+ uui-box {
+ max-width: 500px;
+ }
+ uui-form-layout-item {
+ display: flex;
+ flex-direction: column;
+ }
+ uui-input,
+ uui-input-password {
+ width: 100%;
+ }
+ form {
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+ }
+ uui-form-layout-item {
+ margin-bottom: 0;
+ }
+ uui-textarea {
+ --uui-textarea-min-height: 100px;
+ }
+ /* TODO: Style below is to fix a11y contrast issue, find a proper solution */
+ [slot='description'] {
+ color: black;
+ }
+ `,
+ ];
}
export default UmbCreateUserModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/invite-user/invite-user-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/invite-user/invite-user-modal.element.ts
index 2c1eaed271..acd89430d0 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/invite-user/invite-user-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/invite-user/invite-user-modal.element.ts
@@ -9,43 +9,7 @@ import type { UserDetails } from '@umbraco-cms/backoffice/models';
export type UsersViewType = 'list' | 'grid';
@customElement('umb-invite-user-modal')
export class UmbInviteUserModalElement extends UmbModalBaseElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
- width: 100%;
- }
- uui-box {
- max-width: 500px;
- }
- uui-form-layout-item {
- display: flex;
- flex-direction: column;
- }
- uui-input {
- width: 100%;
- }
- form {
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- }
- uui-form-layout-item {
- margin-bottom: 0;
- }
- uui-textarea {
- --uui-textarea-min-height: 100px;
- }
- /* TODO: Style below is to fix a11y contrast issue, find a proper solution */
- [slot='description'] {
- color: black;
- }
- `,
- ];
+
@query('#form')
private _form!: HTMLFormElement;
@@ -180,6 +144,44 @@ export class UmbInviteUserModalElement extends UmbModalBaseElement {
`}
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ width: 100%;
+ }
+ uui-box {
+ max-width: 500px;
+ }
+ uui-form-layout-item {
+ display: flex;
+ flex-direction: column;
+ }
+ uui-input {
+ width: 100%;
+ }
+ form {
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+ }
+ uui-form-layout-item {
+ margin-bottom: 0;
+ }
+ uui-textarea {
+ --uui-textarea-min-height: 100px;
+ }
+ /* TODO: Style below is to fix a11y contrast issue, find a proper solution */
+ [slot='description'] {
+ color: black;
+ }
+ `,
+ ];
}
export default UmbInviteUserModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/user-picker/user-picker-modal.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/user-picker/user-picker-modal.element.ts
index a1f18890a1..0f9d94eb2e 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/user-picker/user-picker-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/modals/user-picker/user-picker-modal.element.ts
@@ -7,6 +7,54 @@ import type { UserDetails } from '@umbraco-cms/backoffice/models';
@customElement('umb-user-picker-modal')
export class UmbUserPickerModalElement extends UmbModalElementPickerBase {
+
+
+ @state()
+ private _users: Array = [];
+
+ private _userStore?: UmbUserStore;
+
+ connectedCallback(): void {
+ super.connectedCallback();
+ this.consumeContext(UMB_USER_STORE_CONTEXT_TOKEN, (userStore) => {
+ this._userStore = userStore;
+ this._observeUsers();
+ });
+ }
+
+ private _observeUsers() {
+ if (!this._userStore) return;
+ this.observe(this._userStore.getAll(), (users) => (this._users = users));
+ }
+
+ render() {
+ return html`
+
+
+
+
+
+ ${this._users.map(
+ (item) => html`
+
this.handleSelection(item.id)}
+ @keydown=${(e: KeyboardEvent) => this._handleKeydown(e, item.id)}
+ class=${this.isSelected(item.id) ? 'item selected' : 'item'}>
+
+ ${item.name}
+
+ `
+ )}
+
+
+
+
+
+
+
+ `;
+ }
+
static styles = [
UUITextStyles,
css`
@@ -57,52 +105,6 @@ export class UmbUserPickerModalElement extends UmbModalElementPickerBase = [];
-
- private _userStore?: UmbUserStore;
-
- connectedCallback(): void {
- super.connectedCallback();
- this.consumeContext(UMB_USER_STORE_CONTEXT_TOKEN, (userStore) => {
- this._userStore = userStore;
- this._observeUsers();
- });
- }
-
- private _observeUsers() {
- if (!this._userStore) return;
- this.observe(this._userStore.getAll(), (users) => (this._users = users));
- }
-
- render() {
- return html`
-
-
-
-
-
- ${this._users.map(
- (item) => html`
-
this.handleSelection(item.id)}
- @keydown=${(e: KeyboardEvent) => this._handleKeydown(e, item.id)}
- class=${this.isSelected(item.id) ? 'item selected' : 'item'}>
-
- ${item.name}
-
- `
- )}
-
-
-
-
-
-
-
- `;
- }
}
export default UmbUserPickerModalElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/actions/workspace-action-user-save.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/actions/workspace-action-user-save.element.ts
index 8c55d415e3..505187cf1d 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/actions/workspace-action-user-save.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/actions/workspace-action-user-save.element.ts
@@ -8,7 +8,7 @@ import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/context-ap
@customElement('umb-workspace-action-user-save')
export class UmbWorkspaceActionUserSaveElement extends UmbLitElement {
- static styles = [UUITextStyles, css``];
+
@state()
private _saveButtonState?: UUIButtonState;
@@ -45,6 +45,8 @@ export class UmbWorkspaceActionUserSaveElement extends UmbLitElement {
label="save"
.state="${this._saveButtonState}">`;
}
+
+ static styles = [UUITextStyles, css``];
}
export default UmbWorkspaceActionUserSaveElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace-edit.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace-edit.element.ts
index c0a9430280..a4b7fd3b18 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace-edit.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace-edit.element.ts
@@ -19,64 +19,7 @@ import '../../../shared/components/workspace/workspace-layout/workspace-layout.e
@customElement('umb-user-workspace-edit')
export class UmbUserWorkspaceEditElement extends UmbLitElement {
- static styles = [
- UUITextStyles,
- css`
- :host {
- display: block;
- height: 100%;
- }
-
- #main {
- display: grid;
- grid-template-columns: 1fr 350px;
- gap: var(--uui-size-layout-1);
- padding: var(--uui-size-layout-1);
- }
-
- #left-column {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-4);
- }
- #right-column > uui-box > div {
- display: flex;
- flex-direction: column;
- gap: var(--uui-size-space-2);
- }
- uui-avatar {
- font-size: var(--uui-size-16);
- place-self: center;
- }
- hr {
- border: none;
- border-bottom: 1px solid var(--uui-color-divider);
- width: 100%;
- }
- uui-input {
- width: 100%;
- }
- .faded-text {
- color: var(--uui-color-text-alt);
- font-size: 0.8rem;
- }
- uui-tag {
- width: fit-content;
- }
- #user-info {
- display: flex;
- gap: var(--uui-size-space-6);
- }
- #user-info > div {
- display: flex;
- flex-direction: column;
- }
- #assign-access {
- display: flex;
- flex-direction: column;
- }
- `,
- ];
+
@state()
private _currentUser?: UserDetails;
@@ -337,6 +280,65 @@ export class UmbUserWorkspaceEditElement extends UmbLitElement {
`;
}
+
+ static styles = [
+ UUITextStyles,
+ css`
+ :host {
+ display: block;
+ height: 100%;
+ }
+
+ #main {
+ display: grid;
+ grid-template-columns: 1fr 350px;
+ gap: var(--uui-size-layout-1);
+ padding: var(--uui-size-layout-1);
+ }
+
+ #left-column {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-4);
+ }
+ #right-column > uui-box > div {
+ display: flex;
+ flex-direction: column;
+ gap: var(--uui-size-space-2);
+ }
+ uui-avatar {
+ font-size: var(--uui-size-16);
+ place-self: center;
+ }
+ hr {
+ border: none;
+ border-bottom: 1px solid var(--uui-color-divider);
+ width: 100%;
+ }
+ uui-input {
+ width: 100%;
+ }
+ .faded-text {
+ color: var(--uui-color-text-alt);
+ font-size: 0.8rem;
+ }
+ uui-tag {
+ width: fit-content;
+ }
+ #user-info {
+ display: flex;
+ gap: var(--uui-size-space-6);
+ }
+ #user-info > div {
+ display: flex;
+ flex-direction: column;
+ }
+ #assign-access {
+ display: flex;
+ flex-direction: column;
+ }
+ `,
+ ];
}
export default UmbUserWorkspaceEditElement;
diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace.element.ts
index 7cfea7028f..070d1a03dd 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/users/users/workspace/user-workspace.element.ts
@@ -12,7 +12,7 @@ import '../../../shared/components/workspace/workspace-layout/workspace-layout.e
@customElement('umb-user-workspace')
export class UmbUserWorkspaceElement extends UmbLitElement {
- static styles = [UUITextStyles];
+
#workspaceContext = new UmbUserWorkspaceContext(this);
#element = new UmbUserWorkspaceEditElement();
@@ -32,6 +32,8 @@ export class UmbUserWorkspaceElement extends UmbLitElement {
render() {
return html` `;
}
+
+ static styles = [UUITextStyles];
}
export default UmbUserWorkspaceElement;
diff --git a/src/Umbraco.Web.UI.Client/src/core/notification/layouts/default/notification-layout-default.element.ts b/src/Umbraco.Web.UI.Client/src/core/notification/layouts/default/notification-layout-default.element.ts
index a93352938d..50ff4d3824 100644
--- a/src/Umbraco.Web.UI.Client/src/core/notification/layouts/default/notification-layout-default.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/core/notification/layouts/default/notification-layout-default.element.ts
@@ -8,7 +8,7 @@ export type { UmbNotificationDefaultData };
@customElement('umb-notification-layout-default')
export class UmbNotificationLayoutDefaultElement extends LitElement {
- static styles = [UUITextStyles];
+
@property({ attribute: false })
notificationHandler!: UmbNotificationHandler;
@@ -23,6 +23,8 @@ export class UmbNotificationLayoutDefaultElement extends LitElement {
`;
}
+
+ static styles = [UUITextStyles];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/core/router/router-slot.element.ts b/src/Umbraco.Web.UI.Client/src/core/router/router-slot.element.ts
index d055f41278..3120a5d02b 100644
--- a/src/Umbraco.Web.UI.Client/src/core/router/router-slot.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/core/router/router-slot.element.ts
@@ -16,19 +16,7 @@ import { UmbRouteContext, UmbRoute } from '@umbraco-cms/backoffice/router';
*/
@customElement('umb-router-slot')
export class UmbRouterSlotElement extends UmbLitElement {
- static styles = [
- css`
- :host {
- display: flex;
- flex-direction: column;
- height: 100%;
- }
-
- router-slot {
- height: 100%;
- }
- `,
- ];
+
#router: RouterSlot = new RouterSlot();
#modalRouter: RouterSlot = new RouterSlot();
@@ -127,6 +115,20 @@ export class UmbRouterSlotElement extends UmbLitElement {
render() {
return html`${this.#router}${this.#modalRouter}`;
}
+
+ static styles = [
+ css`
+ :host {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ }
+
+ router-slot {
+ height: 100%;
+ }
+ `,
+ ];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/installer/consent/installer-consent.element.ts b/src/Umbraco.Web.UI.Client/src/installer/consent/installer-consent.element.ts
index 21df7a7844..4f8c55c522 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/consent/installer-consent.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/consent/installer-consent.element.ts
@@ -8,41 +8,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-installer-consent')
export class UmbInstallerConsentElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- css`
- :host,
- #container {
- display: flex;
- flex-direction: column;
- height: 100%;
- }
-
- uui-form {
- height: 100%;
- }
-
- form {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
-
- h1 {
- text-align: center;
- margin-bottom: var(--uui-size-layout-3);
- }
-
- #buttons {
- display: flex;
- margin-top: auto;
- }
-
- #button-install {
- margin-left: auto;
- min-width: 120px;
- }
- `,
- ];
+
@state()
private _telemetryLevels: ConsentLevelPresentationModel[] = [];
@@ -132,6 +98,42 @@ export class UmbInstallerConsentElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ css`
+ :host,
+ #container {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ }
+
+ uui-form {
+ height: 100%;
+ }
+
+ form {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+
+ h1 {
+ text-align: center;
+ margin-bottom: var(--uui-size-layout-3);
+ }
+
+ #buttons {
+ display: flex;
+ margin-top: auto;
+ }
+
+ #button-install {
+ margin-left: auto;
+ min-width: 120px;
+ }
+ `,
+ ];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/installer/database/installer-database.element.ts b/src/Umbraco.Web.UI.Client/src/installer/database/installer-database.element.ts
index 7b6f8921df..bb0ff6178a 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/database/installer-database.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/database/installer-database.element.ts
@@ -14,69 +14,7 @@ import { tryExecute } from '@umbraco-cms/backoffice/resources';
@customElement('umb-installer-database')
export class UmbInstallerDatabaseElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- css`
- :host,
- #container {
- display: flex;
- flex-direction: column;
- height: 100%;
- }
-
- uui-form {
- height: 100%;
- }
-
- form {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
-
- uui-form-layout-item {
- margin-top: 0;
- margin-bottom: var(--uui-size-layout-1);
- }
-
- uui-input,
- uui-input-password,
- uui-combobox {
- width: 100%;
- }
-
- hr {
- width: 100%;
- margin-top: var(--uui-size-space-2);
- margin-bottom: var(--uui-size-layout-1);
- border: none;
- border-bottom: 1px solid var(--uui-color-border);
- }
-
- h1 {
- text-align: center;
- margin-bottom: var(--uui-size-layout-3);
- }
-
- h2 {
- margin: 0;
- }
-
- #buttons {
- display: flex;
- margin-top: auto;
- }
-
- #button-install {
- margin-left: auto;
- min-width: 120px;
- }
-
- .error {
- color: var(--uui-color-danger);
- padding: var(--uui-size-space-2) 0;
- }
- `,
- ];
+
@query('#button-install')
private _installButton!: UUIButtonElement;
@@ -424,6 +362,70 @@ export class UmbInstallerDatabaseElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ css`
+ :host,
+ #container {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ }
+
+ uui-form {
+ height: 100%;
+ }
+
+ form {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+
+ uui-form-layout-item {
+ margin-top: 0;
+ margin-bottom: var(--uui-size-layout-1);
+ }
+
+ uui-input,
+ uui-input-password,
+ uui-combobox {
+ width: 100%;
+ }
+
+ hr {
+ width: 100%;
+ margin-top: var(--uui-size-space-2);
+ margin-bottom: var(--uui-size-layout-1);
+ border: none;
+ border-bottom: 1px solid var(--uui-color-border);
+ }
+
+ h1 {
+ text-align: center;
+ margin-bottom: var(--uui-size-layout-3);
+ }
+
+ h2 {
+ margin: 0;
+ }
+
+ #buttons {
+ display: flex;
+ margin-top: auto;
+ }
+
+ #button-install {
+ margin-left: auto;
+ min-width: 120px;
+ }
+
+ .error {
+ color: var(--uui-color-danger);
+ padding: var(--uui-size-space-2) 0;
+ }
+ `,
+ ];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/installer/error/installer-error.element.ts b/src/Umbraco.Web.UI.Client/src/installer/error/installer-error.element.ts
index e7939497ab..0b4e2dc6c1 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/error/installer-error.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/error/installer-error.element.ts
@@ -7,24 +7,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-installer-error')
export class UmbInstallerErrorElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- css`
- :host,
- #container {
- display: flex;
- flex-direction: column;
- height: 100%;
- }
-
- h1 {
- text-align: center;
- }
-
- #error-message {
- color: var(--uui-color-danger, #d42054);
- }
- `,
- ];
+
@state()
_error?: ProblemDetailsModel;
@@ -92,6 +75,25 @@ export class UmbInstallerErrorElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ css`
+ :host,
+ #container {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ }
+
+ h1 {
+ text-align: center;
+ }
+
+ #error-message {
+ color: var(--uui-color-danger, #d42054);
+ }
+ `,
+ ];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/installer/installer.element.ts b/src/Umbraco.Web.UI.Client/src/installer/installer.element.ts
index 25f6161721..9004a872bf 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/installer.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/installer.element.ts
@@ -12,7 +12,7 @@ import './user/installer-user.element';
@customElement('umb-installer')
export class UmbInstallerElement extends UmbLitElement {
- static styles: CSSResultGroup = [css``];
+
@state()
step = 1;
@@ -59,6 +59,8 @@ export class UmbInstallerElement extends UmbLitElement {
render() {
return html`${this._renderSection()} `;
}
+
+ static styles: CSSResultGroup = [css``];
}
export default UmbInstallerElement;
diff --git a/src/Umbraco.Web.UI.Client/src/installer/installing/installer-installing.element.ts b/src/Umbraco.Web.UI.Client/src/installer/installing/installer-installing.element.ts
index 9e70fddf17..92a6236e3c 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/installing/installer-installing.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/installing/installer-installing.element.ts
@@ -3,13 +3,7 @@ import { customElement } from 'lit/decorators.js';
@customElement('umb-installer-installing')
export class UmbInstallerInstallingElement extends LitElement {
- static styles: CSSResultGroup = [
- css`
- h1 {
- text-align: center;
- }
- `,
- ];
+
render() {
return html`
@@ -17,6 +11,14 @@ export class UmbInstallerInstallingElement extends LitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ css`
+ h1 {
+ text-align: center;
+ }
+ `,
+ ];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/installer/shared/layout/installer-layout.element.ts b/src/Umbraco.Web.UI.Client/src/installer/shared/layout/installer-layout.element.ts
index fb6817808e..55560242b9 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/shared/layout/installer-layout.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/shared/layout/installer-layout.element.ts
@@ -5,6 +5,24 @@ import installerImg from '/installer.jpg';
@customElement('umb-installer-layout')
export class UmbInstallerLayoutElement extends LitElement {
+
+
+ render() {
+ return html`
+
+
+
+

+
+
+
+
+
+
+
+
`;
+ }
+
static styles: CSSResultGroup = [
css`
#background {
@@ -49,22 +67,6 @@ export class UmbInstallerLayoutElement extends LitElement {
}
`,
];
-
- render() {
- return html`
-
-
-
-

-
-
-
-
-
-
-
-
`;
- }
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/installer/user/installer-user.element.ts b/src/Umbraco.Web.UI.Client/src/installer/user/installer-user.element.ts
index a96d159a06..b5269880dd 100644
--- a/src/Umbraco.Web.UI.Client/src/installer/user/installer-user.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/installer/user/installer-user.element.ts
@@ -5,55 +5,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-installer-user')
export class UmbInstallerUserElement extends UmbLitElement {
- static styles: CSSResultGroup = [
- css`
- :host,
- #container {
- display: flex;
- flex-direction: column;
- height: 100%;
- }
-
- uui-form-layout-item {
- margin-top: 0;
- margin-bottom: var(--uui-size-layout-1);
- }
-
- uui-form {
- height: 100%;
- }
-
- form {
- height: 100%;
- display: flex;
- flex-direction: column;
- }
-
- uui-input,
- uui-input-password {
- width: 100%;
- }
-
- h1 {
- text-align: center;
- margin-bottom: var(--uui-size-layout-3);
- }
-
- #news-checkbox {
- margin-top: var(--uui-size-space-4);
- }
-
- #buttons {
- display: flex;
- margin-top: auto;
- }
-
- #button-install {
- margin-left: auto;
- min-width: 120px;
- }
- `,
- ];
+
@state()
private _userFormData?: { name: string; password: string; email: string; subscribeToNewsletter: boolean };
@@ -157,6 +109,56 @@ export class UmbInstallerUserElement extends UmbLitElement {
`;
}
+
+ static styles: CSSResultGroup = [
+ css`
+ :host,
+ #container {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ }
+
+ uui-form-layout-item {
+ margin-top: 0;
+ margin-bottom: var(--uui-size-layout-1);
+ }
+
+ uui-form {
+ height: 100%;
+ }
+
+ form {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+
+ uui-input,
+ uui-input-password {
+ width: 100%;
+ }
+
+ h1 {
+ text-align: center;
+ margin-bottom: var(--uui-size-layout-3);
+ }
+
+ #news-checkbox {
+ margin-top: var(--uui-size-space-4);
+ }
+
+ #buttons {
+ display: flex;
+ margin-top: auto;
+ }
+
+ #button-install {
+ margin-left: auto;
+ min-width: 120px;
+ }
+ `,
+ ];
}
declare global {
diff --git a/src/Umbraco.Web.UI.Client/src/upgrader/upgrader-view.element.ts b/src/Umbraco.Web.UI.Client/src/upgrader/upgrader-view.element.ts
index d66130096b..ebdb9cedab 100644
--- a/src/Umbraco.Web.UI.Client/src/upgrader/upgrader-view.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/upgrader/upgrader-view.element.ts
@@ -9,18 +9,7 @@ import { UpgradeSettingsResponseModel } from '@umbraco-cms/backoffice/backend-ap
*/
@customElement('umb-upgrader-view')
export class UmbUpgraderViewElement extends LitElement {
- static styles: CSSResultGroup = [
- css`
- .center {
- display: grid;
- place-items: center;
- height: 100vh;
- }
- .error {
- color: var(--uui-color-danger);
- }
- `,
- ];
+
@property({ type: Boolean })
fetching = false;
@@ -98,6 +87,19 @@ export class UmbUpgraderViewElement extends LitElement {
e.preventDefault();
this.dispatchEvent(new CustomEvent('onAuthorizeUpgrade', { detail: e, bubbles: true }));
};
+
+ static styles: CSSResultGroup = [
+ css`
+ .center {
+ display: grid;
+ place-items: center;
+ height: 100vh;
+ }
+ .error {
+ color: var(--uui-color-danger);
+ }
+ `,
+ ];
}
export default UmbUpgraderViewElement;