diff --git a/src/Umbraco.Web.UI.Client/.vscode/settings.json b/src/Umbraco.Web.UI.Client/.vscode/settings.json index 26b5d4b347..5f8ffac012 100644 --- a/src/Umbraco.Web.UI.Client/.vscode/settings.json +++ b/src/Umbraco.Web.UI.Client/.vscode/settings.json @@ -9,6 +9,7 @@ "pickable", "templating", "umbraco", + "Uncategorized", "variantable" ], "exportall.config.folderListener": [], diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.ts index 6b525cdd3d..95b64271b8 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.ts @@ -167,7 +167,7 @@ export class UmbDataTypePickerFlowModalElement extends UmbLitElement { render() { return html` - + ${this._renderFilter()} ${this._renderGrid()}
@@ -205,12 +205,12 @@ export class UmbDataTypePickerFlowModalElement extends UmbLitElement { return html` ${when( dataTypesEntries.length > 0, - () => html`
Available configurations
+ () => html`
Available configurations
${this._renderDataTypes()}` )} ${when( editorUIEntries.length > 0, - () => html`
Create a new configuration
+ () => html`
Create a new configuration
${this._renderUIs()}` )} `; @@ -221,9 +221,10 @@ export class UmbDataTypePickerFlowModalElement extends UmbLitElement { const entries = Object.entries(this._groupedDataTypes); + // TODO: Fix so we can have Data Types grouped. (or choose not to group them) return entries.map( ([key, value]) => - html`

${key}

+ html`
${key === 'undefined' ? 'Uncategorized' : key}
${this._renderGroupDataTypes(value)}` ); } @@ -235,7 +236,7 @@ export class UmbDataTypePickerFlowModalElement extends UmbLitElement { return entries.map( ([key, value]) => - html`

${key}

+ html`
${key === 'undefined' ? 'Uncategorized' : key}
${this._renderGroupUIs(value)}` ); } @@ -302,7 +303,6 @@ export class UmbDataTypePickerFlowModalElement extends UmbLitElement { } #item-grid:not(:last-child) { - border-bottom: 1px solid var(--uui-color-divider); padding-bottom: var(--uui-size-space-5); } @@ -348,16 +348,12 @@ export class UmbDataTypePickerFlowModalElement extends UmbLitElement { } .category-name { - display: block; text-transform: capitalize; - font-size: 0.9rem; } - .configuration-name { - font-weight: bold; - display: block; + .choice-type-headline { text-transform: capitalize; - font-size: 1rem; + border-bottom: 1px solid var(--uui-color-divider); } `, ];