diff --git a/src/Umbraco.Web.UI.Client/src/mocks/data/data-type/data-type.data.ts b/src/Umbraco.Web.UI.Client/src/mocks/data/data-type/data-type.data.ts index 7aa782b8a2..f3c0ab8d4d 100644 --- a/src/Umbraco.Web.UI.Client/src/mocks/data/data-type/data-type.data.ts +++ b/src/Umbraco.Web.UI.Client/src/mocks/data/data-type/data-type.data.ts @@ -406,6 +406,27 @@ export const data: Array = [ }, ], }, + { + name: 'Dropdown Alignment Options', + id: 'dt-dropdown-align', + parent: null, + editorAlias: 'Umbraco.DropDown.Flexible', + editorUiAlias: 'Umb.PropertyEditorUi.Dropdown', + hasChildren: false, + isFolder: false, + isDeletable: true, + canIgnoreStartNodes: false, + values: [ + { + alias: 'multiple', + value: false, + }, + { + alias: 'items', + value: ['left', 'center', 'right'], + }, + ], + }, { name: 'Slider', id: 'dt-slider', @@ -587,6 +608,7 @@ export const data: Array = [ { label: 'Headline', contentElementTypeKey: 'headline-umbraco-demo-block-id', + settingsElementTypeKey: 'headline-settings-demo-block-id', backgroundColor: 'gold', editorSize: 'medium', icon: 'icon-edit', @@ -613,7 +635,7 @@ export const data: Array = [ }, { alias: 'useInlineEditingAsDefault', - value: true, + value: false, }, { alias: 'useLiveEditing', diff --git a/src/Umbraco.Web.UI.Client/src/mocks/data/document-type/document-type.data.ts b/src/Umbraco.Web.UI.Client/src/mocks/data/document-type/document-type.data.ts index e8ef422e04..1011e3c467 100644 --- a/src/Umbraco.Web.UI.Client/src/mocks/data/document-type/document-type.data.ts +++ b/src/Umbraco.Web.UI.Client/src/mocks/data/document-type/document-type.data.ts @@ -1507,6 +1507,60 @@ export const data: Array = [ }, ], }, + { + allowedTemplates: [], + defaultTemplate: null, + id: 'headline-settings-demo-block-id', + alias: 'headlineSettingsUmbracoDemoBlock', + name: 'Headline', + description: null, + icon: 'icon-edit', + allowedAsRoot: true, + variesByCulture: false, + variesBySegment: false, + isElement: true, + hasChildren: false, + parent: { id: 'folder-umbraco-demo-blocks-id' }, + isFolder: false, + allowedDocumentTypes: [], + compositions: [], + cleanup: { + preventCleanup: false, + keepAllVersionsNewerThanDays: null, + keepLatestVersionPerDayForDays: null, + }, + properties: [ + { + id: 'block-alignment-id', + container: { id: 'settings-group-key' }, + alias: 'blockAlignment', + name: 'Block Alignment', + description: '', + dataType: { id: 'dt-dropdown-align' }, + variesByCulture: false, + variesBySegment: false, + sortOrder: 0, + validation: { + mandatory: false, + mandatoryMessage: null, + regEx: null, + regExMessage: null, + }, + appearance: { + labelOnTop: false, + }, + }, + ], + containers: [ + { + id: 'settings-group-key', + parent: null, + name: 'Settings', + type: 'Group', + sortOrder: 0, + }, + ], + }, { allowedTemplates: [], defaultTemplate: null,