Skip to content

Commit 7640c42

Browse files
Merge branch 'main' into v15/feature/collection-kind-workspace-view
2 parents fffc640 + d3f5126 commit 7640c42

File tree

75 files changed

+125
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+125
-52
lines changed

src/packages/core/modal/common/code-editor/code-editor-modal.element.ts renamed to src/packages/code-editor/code-editor-modal/code-editor-modal.element.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1+
import type { UmbCodeEditorElement } from '../components/code-editor.element.js';
2+
import type { UmbCodeEditorModalData, UmbCodeEditorModalValue } from './code-editor-modal.token.js';
13
import { css, html, ifDefined, customElement, query } from '@umbraco-cms/backoffice/external/lit';
24
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
3-
import type { UmbCodeEditorElement } from '@umbraco-cms/backoffice/code-editor';
4-
import type { UmbCodeEditorModalData, UmbCodeEditorModalValue } from '@umbraco-cms/backoffice/modal';
5-
6-
import '@umbraco-cms/backoffice/code-editor';
75

86
const elementName = 'umb-code-editor-modal';
97

src/packages/core/modal/common/code-editor/code-editor-modal.stories.ts renamed to src/packages/code-editor/code-editor-modal/code-editor-modal.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import '../confirm/confirm-modal.element.js';
22

3+
import type { UmbCodeEditorModalData } from './code-editor-modal.token.js';
34
import type { Meta, Story } from '@storybook/web-components';
45
import { html } from '@umbraco-cms/backoffice/external/lit';
5-
import type { UmbCodeEditorModalData } from '@umbraco-cms/backoffice/modal';
66

77
export default {
88
title: 'API/Modals/Layouts/Code Editor',

src/packages/core/modal/token/code-editor-modal.token.ts renamed to src/packages/code-editor/code-editor-modal/code-editor-modal.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UmbModalToken } from './modal-token.js';
1+
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
22

33
// TODO => investigate why exporting CodeEditorLanguage in code-editor barrel
44
// causes the schema generation task to fail... For now, language property below
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './code-editor-modal.token.js';
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export const manifests: Array<UmbExtensionManifest> = [
2+
{
3+
type: 'modal',
4+
alias: 'Umb.Modal.CodeEditor',
5+
name: 'Code Editor Modal',
6+
element: () => import('./code-editor-modal.element.js'),
7+
},
8+
];

src/packages/code-editor/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export * from './components/index.js';
22
export * from './models/index.js';
3+
export * from './code-editor-modal/index.js';
4+
35
export type { UmbCodeEditorController } from './code-editor.controller.js';
46

57
/**

src/packages/code-editor/manifests.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
import { manifest as propertyEditorManifest } from './property-editor/manifests.js';
2+
import { manifests as codeEditorModalManifests } from './code-editor-modal/manifests.js';
23

3-
export const manifests: Array<UmbExtensionManifest> = [propertyEditorManifest];
4+
export const manifests: Array<UmbExtensionManifest> = [propertyEditorManifest, ...codeEditorModalManifests];

src/packages/core/debug/modals/debug/debug-modal.element.ts renamed to src/packages/core/debug/debug-modal/debug-modal.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import type { UmbContextDebuggerModalData } from './debug-modal.token.js';
12
import { css, customElement, html } from '@umbraco-cms/backoffice/external/lit';
23
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
34
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
4-
import type { UmbContextDebuggerModalData } from '@umbraco-cms/backoffice/modal';
55

66
@customElement('umb-context-debugger-modal')
77
export default class UmbContextDebuggerModalElement extends UmbModalBaseElement<UmbContextDebuggerModalData> {

src/packages/core/modal/token/debug-modal.token.ts renamed to src/packages/core/debug/debug-modal/debug-modal.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UmbModalToken } from './modal-token.js';
1+
import { UmbModalToken } from '../../modal/token/modal-token.js';
22
import type { TemplateResult } from '@umbraco-cms/backoffice/external/lit';
33

44
export interface UmbContextDebuggerModalData {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './debug-modal.token.js';

0 commit comments

Comments
 (0)